From 9a70abbf1378060d1b46240eed0dcd0dffd526ff Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Mon, 26 Oct 2009 23:07:37 +0100 Subject: [PATCH] Change HTTP back to a 1.1 client. This was modified in b893859c34f05db5c45f416949ebc0eee665cca6 even though it wasn't really required. Some users are experiencing problems after changing to 1.0 - once those are identified the client will returned to 1.0. --- lib/http.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/http.js b/lib/http.js index 0e66c67e628..50e6df596b7 100644 --- a/lib/http.js +++ b/lib/http.js @@ -333,7 +333,7 @@ function ClientRequest (method, uri, headers) { } this.closeOnFinish = true; - this.sendHeaderLines(method + " " + uri + " HTTP/1.0\r\n", headers); + this.sendHeaderLines(method + " " + uri + " HTTP/1.1\r\n", headers); } node.inherits(ClientRequest, OutgoingMessage);