Fix incorrect HTTP encoding

refs #10024
This commit is contained in:
Gunnar Beutner 2015-08-28 10:03:26 +02:00
parent 49fd5b582d
commit d7a21c2361
1 changed files with 0 additions and 3 deletions

View File

@ -72,9 +72,6 @@ void HttpResponse::WriteBody(const char *data, size_t count)
{ {
ASSERT(m_State == HttpResponseHeaders || m_State == HttpResponseBody); ASSERT(m_State == HttpResponseHeaders || m_State == HttpResponseBody);
if (count == 0)
return;
if (m_Request.ProtocolVersion == HttpVersion10) { if (m_Request.ProtocolVersion == HttpVersion10) {
if (!m_Body) if (!m_Body)
m_Body = new FIFO(); m_Body = new FIFO();