We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
req.end
server code:
require('http').createServer(function (req, res) { req.on('end', function () { res.end('hello world'); }); }).listen(8124);
client code:
var urllib = require('urllib'); urllib.request('http://localhost:8124/hello', function (err, data, res) { console.log(err); });
Differentce between node v0.8.14 and v0.10.21:
The text was updated successfully, but these errors were encountered:
It is NOT a bug of urllib, but maybe http module in v0.10.21.
urllib
http
$ curl -v "http://localhost:8124/a/b/c"
it will be timeout in v0.10.21, and responses immediately in v0.8.14
Sorry, something went wrong.
nodejs/node-v0.x-archive#5566
No branches or pull requests
server code:
client code:
Differentce between node v0.8.14 and v0.10.21:
The text was updated successfully, but these errors were encountered: