Nimble, streamable HTTP client for Node.js. With proxy, iconv, cookie, deflate & multipart support.
MIT License
Bot releases are hidden (Show)
Published by tomas almost 8 years ago
Published by tomas almost 8 years ago
Just some cleanup and a haircut.
Published by tomas almost 8 years ago
err
and timeout
events to output stream object.Published by tomas almost 8 years ago
Published by tomas about 8 years ago
urlencoded
. Fixes #171.Published by tomas over 8 years ago
Published by tomas almost 9 years ago
Published by tomas over 9 years ago
needle.post('//foobar.com')
should work now.Published by tomas over 9 years ago
Published by tomas over 9 years ago
follow_set_cookies
when no cookies are received (#121).Published by tomas over 9 years ago
debug
module as a dependency.Published by tomas over 9 years ago
Published by tomas over 9 years ago
In version 0.7 a lot of work was done on the Needle internals to make streams a first class citizen. Needle can now be used as a streams2-compatible stream and you gain a lot of performance improvements come with it.
While great care was taken not to introduce any breaking changes, there are probably a few edge cases in which Needle's behaviour has changed, specifically:
If you use the regular callback interface of Needle, this will be a backwards-compatible upgrade.
Published by tomas over 9 years ago
Published by tomas over 9 years ago
This version introduces a number of new things:
Important changes:
follow: true
will no longer default to 10 redirects. You now need to explicitly pass a number.timeout: true
will no longer default to 10000 milisecs. Same as above, a number is expected.