diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2008-05-13 16:40:34 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2008-05-13 16:40:34 +0000 |
| commit | 00f385c3b3f180d636fbe1a6bf541e43719283a6 (patch) | |
| tree | 28004ab2fbcc609e2ffdaa613d444c361ddb5ac8 /src/HttpHeader.h | |
| parent | a37af74369b8fdac2c63ac4ad67a8bb69141bbe9 (diff) | |
2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Made string listeral to static const std::string.
* src/HttpConnection.cc
* src/HttpHeader.cc
* src/HttpHeader.h
* src/HttpResponse.cc
Diffstat (limited to 'src/HttpHeader.h')
| -rw-r--r-- | src/HttpHeader.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/HttpHeader.h b/src/HttpHeader.h index 87c7c82c..3a09a4f9 100644 --- a/src/HttpHeader.h +++ b/src/HttpHeader.h @@ -78,6 +78,26 @@ public: void setVersion(const std::string& version); void fill(std::istream& in); + + static const std::string LOCATION; + + static const std::string TRANSFER_ENCODING; + + static const std::string CONTENT_DISPOSITION; + + static const std::string SET_COOKIE; + + static const std::string CHUNKED; + + static const std::string CONTENT_TYPE; + + static const std::string RETRY_AFTER; + + static const std::string CONNECTION; + + static const std::string CLOSE; + + static const std::string HTTP_1_1; }; typedef SharedHandle<HttpHeader> HttpHeaderHandle; |
