From bead7a68e7dc34a87648f5d66906a79f7cc6b2a3 Mon Sep 17 00:00:00 2001 From: Nathan Osman Date: Tue, 13 Dec 2016 21:31:01 -0800 Subject: [PATCH] Fix incorrect HTTP version. --- src/qproxysocket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qproxysocket.cpp b/src/qproxysocket.cpp index 20e0187..9d9ebe6 100644 --- a/src/qproxysocket.cpp +++ b/src/qproxysocket.cpp @@ -53,7 +53,7 @@ void QProxySocket::onUpstreamConnected() { // Write the status line using the stripped path from the handler mUpstreamSocket.write( - QString("%1 /%2 HTTP/1.0\r\n") + QString("%1 /%2 HTTP/1.1\r\n") .arg(methodToString(mDownstreamSocket->method())) .arg(mPath) .toUtf8()