Skip to content

Commit 9a70abb

Browse files
committed
Change HTTP back to a 1.1 client.
This was modified in b893859 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.
1 parent 7d9d881 commit 9a70abb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/http.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ function ClientRequest (method, uri, headers) {
333333
}
334334
this.closeOnFinish = true;
335335

336-
this.sendHeaderLines(method + " " + uri + " HTTP/1.0\r\n", headers);
336+
this.sendHeaderLines(method + " " + uri + " HTTP/1.1\r\n", headers);
337337
}
338338
node.inherits(ClientRequest, OutgoingMessage);
339339

0 commit comments

Comments
 (0)