From ec99f7f721581d99f7790f8dd7333ae016261b07 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sat, 22 Jun 2019 23:04:31 +0200 Subject: [PATCH] CHttpRequest: Okay let's go back to HTTP/1.0 for now.. I don't want to deal with sessions staying alive at the moment. --- LibCore/CHttpRequest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LibCore/CHttpRequest.cpp b/LibCore/CHttpRequest.cpp index 4012cc9f85..93cbc6987d 100644 --- a/LibCore/CHttpRequest.cpp +++ b/LibCore/CHttpRequest.cpp @@ -37,7 +37,7 @@ ByteBuffer CHttpRequest::to_raw_request() const builder.append(method_name()); builder.append(' '); builder.append(m_path); - builder.append(" HTTP/1.1\r\nHost: "); + builder.append(" HTTP/1.0\r\nHost: "); builder.append(m_hostname); builder.append("\r\n\r\n"); return builder.to_byte_buffer();