17 #ifndef PAGESPEED_APACHE_HEADER_UTIL_H_
18 #define PAGESPEED_APACHE_HEADER_UTIL_H_
27 namespace net_instaweb {
62 ResponseHeaders* headers,
63 ResponseHeaders* err_headers);
69 request_rec* request);
75 request_rec* request);
Callback2< StringPiece, bool * > HeaderPredicateFn
Definition: header_util.h:30
Definition: callback.h:167
void ResponseHeadersToApacheRequest(const ResponseHeaders &response_headers, request_rec *request)
void ErrorHeadersToApacheRequest(const ResponseHeaders &err_response_headers, request_rec *request)
void PrintHeaders(request_rec *request)
Debug utility for printing Apache headers to stdout.
void ApacheRequestToResponseHeaders(const request_rec &request, ResponseHeaders *headers, ResponseHeaders *err_headers)
std::string GoogleString
PAGESPEED_KERNEL_BASE_STRING_H_.
Definition: string.h:24
void DisableDownstreamHeaderFilters(request_rec *request)
Remove downstream filters that might corrupt our caching headers.
void DisableCacheControlHeader(request_rec *request)
GoogleString SubprocessEnvToString(request_rec *request)
Get request->subprocess_env as a string, intended for tests.
void ApacheRequestToRequestHeaders(const request_rec &request, RequestHeaders *request_headers, HeaderPredicateFn *predicate)
void DisableCachingRelatedHeaders(request_rec *request)
Updates headers related to caching (but not Cache-Control).
GoogleString HeadersOutToString(request_rec *request)
Get request->headers_out as a string, intended for tests.