19 #ifndef NET_INSTAWEB_HTTP_PUBLIC_INFLATING_FETCH_H_
20 #define NET_INSTAWEB_HTTP_PUBLIC_INFLATING_FETCH_H_
30 namespace net_instaweb {
79 virtual void HandleDone(
bool success);
83 void InitInflater(GzipInflater::InflateType,
const StringPiece& value);
87 bool IsCompressionAllowedInRequest();
92 bool request_checked_for_accept_encoding_;
95 bool compression_desired_;
99 bool inflate_failure_;
static bool UnGzipValueIfCompressed(const HTTPValue &src, ResponseHeaders *headers, HTTPValue *dest, MessageHandler *handler)
Definition: http_value.h:38
virtual bool HandleWrite(const StringPiece &sp, MessageHandler *handler)
Definition: scoped_ptr.h:30
virtual void HandleHeadersComplete()
Definition: async_fetch.h:278
Definition: async_fetch.h:53
void EnableGzipFromBackend()
static bool GzipValue(int compression_level, const HTTPValue &http_value, HTTPValue *compressed_value, ResponseHeaders *headers, MessageHandler *handler)
Definition: message_handler.h:39
Definition: inflating_fetch.h:44