Page Speed Optimization Libraries  1.4.26.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
net_instaweb::ApacheWriter Class Reference

Writer object that writes to an Apache Request stream. More...

#include "apache_writer.h"

Inheritance diagram for net_instaweb::ApacheWriter:
net_instaweb::Writer

List of all members.

Public Member Functions

 ApacheWriter (request_rec *r)
virtual bool Write (const StringPiece &str, MessageHandler *handler)
virtual bool Flush (MessageHandler *handler)
void OutputHeaders (ResponseHeaders *response_headers)
void set_disable_downstream_header_filters (bool x)
void set_strip_cookies (bool x)

Detailed Description

Writer object that writes to an Apache Request stream.


Member Function Documentation

Copies the contents of the specified response_headers to the Apache headers_out structure. This must be done before any bytes are flushed.

Note: if strip_cokies is set, the cookies will be stripped here.

Disables mod_expires and mod_headers to allow the headers to be under control of mod_pagespeed. Default is false.

Removes 'Set-Cookie' and 'Set-Cookie2' from the response headers once they are complete. Default is false.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines