diff --git a/lib/remote/httprequest.cpp b/lib/remote/httprequest.cpp index a50cd3783..55d6f0a3f 100644 --- a/lib/remote/httprequest.cpp +++ b/lib/remote/httprequest.cpp @@ -115,7 +115,7 @@ bool HttpRequest::ParseBody(StreamReadContext& src, bool may_wait) /* we're done if the request doesn't contain a message body */ if (!Headers->Contains("content-length") && !Headers->Contains("transfer-encoding")) { CompleteBody = true; - return false; + return true; } else if (!m_Body) m_Body = new FIFO();