mirror of
https://github.com/aria2/aria2.git
synced 2026-04-13 16:23:03 +00:00
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
This commit is contained in:
@@ -61,6 +61,7 @@
|
||||
#include "prefs.h"
|
||||
#include "StringFormat.h"
|
||||
#include "HttpSkipResponseCommand.h"
|
||||
#include "HttpHeader.h"
|
||||
|
||||
namespace aria2 {
|
||||
|
||||
@@ -88,7 +89,7 @@ bool HttpResponseCommand::executeInternal()
|
||||
httpResponse->validateResponse();
|
||||
httpResponse->retrieveCookie();
|
||||
|
||||
if(httpResponse->getResponseStatus() >= "300") {
|
||||
if(httpResponse->getResponseStatus() >= HttpHeader::S300) {
|
||||
return skipResponseBody(httpResponse);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user