Page Speed Optimization Libraries  1.13.35.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Typedefs | Functions
header_util.h File Reference
#include <cstddef>
#include "pagespeed/kernel/base/callback.h"
#include "pagespeed/kernel/base/string_util.h"

Go to the source code of this file.

Namespaces

 net_instaweb
 Unit-test framework for wget fetcher.
 

Typedefs

typedef Callback2< StringPiece,
bool * > 
net_instaweb::HeaderPredicateFn
 

Functions

void net_instaweb::ApacheRequestToRequestHeaders (const request_rec &request, RequestHeaders *request_headers, HeaderPredicateFn *predicate)
 
void net_instaweb::ApacheRequestToRequestHeaders (const request_rec &request, RequestHeaders *request_headers)
 Fully converts apache request header structure into RequestHeaders.
 
void net_instaweb::ApacheRequestToResponseHeaders (const request_rec &request, ResponseHeaders *headers, ResponseHeaders *err_headers)
 
void net_instaweb::ResponseHeadersToApacheRequest (const ResponseHeaders &response_headers, request_rec *request)
 
void net_instaweb::ErrorHeadersToApacheRequest (const ResponseHeaders &err_response_headers, request_rec *request)
 
void net_instaweb::DisableDownstreamHeaderFilters (request_rec *request)
 Remove downstream filters that might corrupt our caching headers.
 
void net_instaweb::PrintHeaders (request_rec *request)
 Debug utility for printing Apache headers to stdout.
 
GoogleString net_instaweb::HeadersOutToString (request_rec *request)
 Get request->headers_out as a string, intended for tests.
 
GoogleString net_instaweb::SubprocessEnvToString (request_rec *request)
 Get request->subprocess_env as a string, intended for tests.
 
void net_instaweb::DisableCachingRelatedHeaders (request_rec *request)
 Updates headers related to caching (but not Cache-Control).
 
void net_instaweb::DisableCacheControlHeader (request_rec *request)
 

Detailed Description

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.