summaryrefslogtreecommitdiff
path: root/src/HttpResponseCommand.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-05-06 15:20:59 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-05-06 15:20:59 +0000
commit4f150057ca4e133e062d841f02ead46229015ec8 (patch)
tree7f27ec1b96402969d2001304326ec5c1f164b1df /src/HttpResponseCommand.h
parent53464fd0fc3a0f28cc918c37e5a7caf849ac7e56 (diff)
2008-05-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Receive content body of 302 response so that the connection can be reused later when http keep-alive is enabled. * src/HttpNullDownloadCommand.cc * src/HttpNullDownloadCommand.h * src/HttpResponseCommand.cc * src/HttpResponseCommand.h
Diffstat (limited to 'src/HttpResponseCommand.h')
-rw-r--r--src/HttpResponseCommand.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/HttpResponseCommand.h b/src/HttpResponseCommand.h
index 25d2cd80..19940264 100644
--- a/src/HttpResponseCommand.h
+++ b/src/HttpResponseCommand.h
@@ -50,6 +50,8 @@ private:
bool handleDefaultEncoding(const SharedHandle<HttpResponse>& httpResponse);
bool handleOtherEncoding(const SharedHandle<HttpResponse>& httpResponse);
+ bool handleRedirect(const SharedHandle<HttpResponse>& httpResponse);
+
HttpDownloadCommand* createHttpDownloadCommand(const SharedHandle<HttpResponse>& httpResponse);
protected:
bool executeInternal();