diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2008-05-14 14:02:18 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2008-05-14 14:02:18 +0000 |
| commit | 158563d16a78bb0138c8cd5703dd58e367d59640 (patch) | |
| tree | 54e9d6c0b605d061960e6fedb97040bbd1cb8acb /src/HttpHeader.cc | |
| parent | 9a98c7197229f4d3ab907c85cdcfb146ad0e5c09 (diff) | |
2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Defined HTTP status as static const std::string
* src/AbstractProxyResponseCommand.cc
* src/HttpHeader.cc
* src/HttpHeader.h
* src/HttpResponse.cc
* src/HttpResponseCommand.cc
* src/HttpSkipResponseCommand.cc
Diffstat (limited to 'src/HttpHeader.cc')
| -rw-r--r-- | src/HttpHeader.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/HttpHeader.cc b/src/HttpHeader.cc index 39fa0a8c..6d4c765d 100644 --- a/src/HttpHeader.cc +++ b/src/HttpHeader.cc @@ -64,6 +64,16 @@ const std::string HttpHeader::CONTENT_RANGE("Content-Range"); const std::string HttpHeader::HTTP_1_1("HTTP/1.1"); +const std::string HttpHeader::S200("200"); + +const std::string HttpHeader::S300("300"); + +const std::string HttpHeader::S400("400"); + +const std::string HttpHeader::S401("401"); + +const std::string HttpHeader::S404("404"); + void HttpHeader::put(const std::string& name, const std::string& value) { std::multimap<std::string, std::string>::value_type vt(Util::toLower(name), value); table.insert(vt); |
