Revert "Change HTTP back to a 1.1 client."
authorRyan Dahl <ry@tinyclouds.org>
Wed, 28 Oct 2009 14:37:58 +0000 (15:37 +0100)
committerRyan Dahl <ry@tinyclouds.org>
Wed, 28 Oct 2009 14:37:58 +0000 (15:37 +0100)
This reverts commit 9a70abbf1378060d1b46240eed0dcd0dffd526ff.

lib/http.js

index 50e6df5..0e66c67 100644 (file)
@@ -333,7 +333,7 @@ function ClientRequest (method, uri, headers) {
   }
   this.closeOnFinish = true;
 
-  this.sendHeaderLines(method + " " + uri + " HTTP/1.1\r\n", headers);
+  this.sendHeaderLines(method + " " + uri + " HTTP/1.0\r\n", headers);
 }
 node.inherits(ClientRequest, OutgoingMessage);