Browse Source

Change HTTP back to a 1.1 client.

This was modified in b893859c34 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.
v0.7.4-release
Ryan Dahl 15 years ago
parent
commit
9a70abbf13
  1. 2
      lib/http.js

2
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);

Loading…
Cancel
Save