diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-11-15 12:52:03 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-11-15 12:52:03 +0000 |
| commit | d8d159ccd86183649771b5b20ef154504540b1ab (patch) | |
| tree | c32e4a8b838fced1337b406a81d56cd1f80d3712 /src/HttpHeader.cc | |
| parent | 6a1fe669751801b55affa0aeaff4646ac2ac6a00 (diff) | |
2010-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Replaced HttpHeader::responseStatus_ with HttpHeader::statusCode_.
statusCode_ is of type int.
* src/AbstractProxyResponseCommand.cc
* src/FtpNegotiationCommand.cc
* src/HttpHeader.cc
* src/HttpHeader.h
* src/HttpHeaderProcessor.cc
* src/HttpResponse.cc
* src/HttpResponse.h
* src/HttpResponseCommand.cc
* src/HttpSkipResponseCommand.cc
* src/util.cc
* src/util.h
* test/HttpHeaderProcessorTest.cc
* test/HttpHeaderTest.cc
* test/HttpResponseTest.cc
* test/UtilTest.cc
Diffstat (limited to 'src/HttpHeader.cc')
| -rw-r--r-- | src/HttpHeader.cc | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/HttpHeader.cc b/src/HttpHeader.cc index 4b25462e..2de6db94 100644 --- a/src/HttpHeader.cc +++ b/src/HttpHeader.cc @@ -76,28 +76,6 @@ const std::string HttpHeader::ACCEPT_ENCODING("Accept-Encoding"); const std::string HttpHeader::HTTP_1_1("HTTP/1.1"); -const std::string HttpHeader::S200("200"); - -const std::string HttpHeader::S206("206"); - -const std::string HttpHeader::S300("300"); - -const std::string HttpHeader::S301("301"); - -const std::string HttpHeader::S302("302"); - -const std::string HttpHeader::S303("303"); - -const std::string HttpHeader::S304("304"); - -const std::string HttpHeader::S307("307"); - -const std::string HttpHeader::S400("400"); - -const std::string HttpHeader::S401("401"); - -const std::string HttpHeader::S404("404"); - HttpHeader::HttpHeader() {} HttpHeader::~HttpHeader() {} @@ -201,11 +179,6 @@ RangeHandle HttpHeader::getRange() const return SharedHandle<Range>(new Range(startByte, endByte, entityLength)); } -void HttpHeader::setResponseStatus(const std::string& responseStatus) -{ - responseStatus_ = responseStatus; -} - void HttpHeader::setVersion(const std::string& version) { version_ = version; |
