diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2008-04-21 10:48:11 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2008-04-21 10:48:11 +0000 |
| commit | e1fa62e6c7ce3617b8bb72b4ffe63f505cc0fdda (patch) | |
| tree | 4e68de6b8c0fe23eb681dd5937b0e4409d6dbccf /src/HttpHeaderProcessor.h | |
| parent | 3eb74629cbd0f01113bc581d486a8ec95633b4ad (diff) | |
2008-04-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Now HTTP status and version are a member variable of HttpHeader.
HTTP status is processed as a string, not integer.
* src/AbstractProxyResponseCommand.cc
* src/HttpConnection.cc
* src/HttpHeader.cc
* src/HttpHeader.h
* src/HttpHeaderProcessor.cc
* src/HttpHeaderProcessor.h
* src/HttpResponse.cc
* src/HttpResponse.h
* test/HttpHeaderProcessorTest.cc
* test/HttpResponseTest.cc
Diffstat (limited to 'src/HttpHeaderProcessor.h')
| -rw-r--r-- | src/HttpHeaderProcessor.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/HttpHeaderProcessor.h b/src/HttpHeaderProcessor.h index fc6814d3..e4bdc9f1 100644 --- a/src/HttpHeaderProcessor.h +++ b/src/HttpHeaderProcessor.h @@ -70,7 +70,11 @@ public: */ size_t getPutBackDataLength() const; - std::pair<std::string, SharedHandle<HttpHeader> > getHttpStatusHeader(); + /** + * Processes the recieved header as a http response header and returns + * HttpHeader object. + */ + SharedHandle<HttpHeader> getHttpResponseHeader(); std::string getHeaderString() const; |
