diff --git a/LibCore/CHttpRequest.cpp b/LibCore/CHttpRequest.cpp index de62a8cd6d..4012cc9f85 100644 --- a/LibCore/CHttpRequest.cpp +++ b/LibCore/CHttpRequest.cpp @@ -37,8 +37,8 @@ ByteBuffer CHttpRequest::to_raw_request() const builder.append(method_name()); builder.append(' '); builder.append(m_path); - builder.append(" HTTP/1.0\nHost: "); + builder.append(" HTTP/1.1\r\nHost: "); builder.append(m_hostname); - builder.append("\n\n"); + builder.append("\r\n\r\n"); return builder.to_byte_buffer(); }