diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-03-07 10:36:42 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-03-07 10:36:42 +0000 |
| commit | b0f180c99c83be511b32c2a22e4e7d701c69a3d9 (patch) | |
| tree | 1e8cc5e0a99d67d64b86c49b8d1f68d11fed6244 /src/HttpResponse.cc | |
| parent | 6ce44b001de112ee1fb08ea77ed9dc7f045cf4c8 (diff) | |
2010-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
url -> uri in Request class.
* src/AbstractCommand.cc
* src/AdaptiveURISelector.cc
* src/DefaultBtAnnounce.cc
* src/FeedbackURISelector.cc
* src/FileEntry.cc
* src/FileEntry.h
* src/HttpRequest.h
* src/HttpResponse.cc
* src/InitiateConnectionCommandFactory.cc
* src/Metalink2RequestGroup.cc
* src/OptionHandlerImpl.h
* src/ProtocolDetector.cc
* src/Request.cc
* src/Request.h
* src/XmlRpcMethodImpl.cc
* test/AuthConfigFactoryTest.cc
* test/FtpConnectionTest.cc
* test/HttpRequestTest.cc
* test/HttpResponseTest.cc
* test/RequestTest.cc
Diffstat (limited to 'src/HttpResponse.cc')
| -rw-r--r-- | src/HttpResponse.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/HttpResponse.cc b/src/HttpResponse.cc index d1728a2a..b7a4f413 100644 --- a/src/HttpResponse.cc +++ b/src/HttpResponse.cc @@ -132,14 +132,14 @@ bool HttpResponse::isRedirect() const void HttpResponse::processRedirect() { - if(httpRequest->getRequest()->redirectUrl(getRedirectURI())) { + if(httpRequest->getRequest()->redirectUri(getRedirectURI())) { logger->info(MSG_REDIRECT, cuid, - httpRequest->getRequest()->getCurrentUrl().c_str()); + httpRequest->getRequest()->getCurrentUri().c_str()); } else { throw DL_RETRY_EX (StringFormat("CUID#%d - Redirect to %s failed. It may not be a valid" " URI.", cuid, - httpRequest->getRequest()->getCurrentUrl().c_str()).str()); + httpRequest->getRequest()->getCurrentUri().c_str()).str()); } } |
