summaryrefslogtreecommitdiff
path: root/src/HttpHeader.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-01-22 14:09:39 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-01-22 14:09:39 +0000
commit06a52cad02bec8740eaaf357f3404d241136f830 (patch)
tree440492a6602b15b7d74e02fc7d10023dab566049 /src/HttpHeader.h
parent5d8864caedd849ed98fbdb86282124b2b47e6090 (diff)
2010-01-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
aria2 now returns gzip compressed XML-RPC response if XML-RPC client accepts gzip content encoding. * src/A2STR.cc * src/A2STR.h * src/GZipEncoder.cc * src/GZipEncoder.h * src/HttpHeader.cc * src/HttpHeader.h * src/HttpServer.cc * src/HttpServer.h * src/HttpServerBodyCommand.cc * src/HttpServerCommand.cc * src/Makefile.am * src/XmlRpcResponse.cc * src/XmlRpcResponse.h * test/GZipEncoderTest.cc * test/Makefile.am
Diffstat (limited to 'src/HttpHeader.h')
-rw-r--r--src/HttpHeader.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/HttpHeader.h b/src/HttpHeader.h
index aff2b07c..1a42ff4b 100644
--- a/src/HttpHeader.h
+++ b/src/HttpHeader.h
@@ -140,6 +140,8 @@ public:
static const std::string LAST_MODIFIED;
+ static const std::string ACCEPT_ENCODING;
+
static const std::string HTTP_1_1;
static const std::string S200;