Skip to content
Snippets Groups Projects
Commit 4019c79a authored by Xiaohong Bao's avatar Xiaohong Bao
Browse files
parents 943e1fbe b79d694f
No related branches found
No related tags found
No related merge requests found
......@@ -311,10 +311,10 @@ class HTTPGetResponder : public LLCurl::Responder
{
bool success = false;
bool partial = false;
if (200 <= status && status < 300)
if (HTTP_OK <= status && status < HTTP_MULTIPLE_CHOICES)
{
success = true;
if (203 == status) // partial information (i.e. last block)
if (HTTP_PARTIAL_CONTENT == status) // partial information (i.e. last block)
{
partial = true;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment