needle
needle copied to clipboard
Nimble, streamable HTTP client for Node.js. With proxy, iconv, cookie, deflate & multipart support.
For example, I get html with encoding `` I am making multiple requests to the same url. In `response.body`, I sometimes see the correct text: `€ 9.99 ` But usually...
### Part 1: error There is a server on the internet that shows following headers: ```js $ curl -I http://59.gibdd.ru HTTP/1.1 301 Moved Permanently Date: Mon, 13 Sep 2021 15:51:29...
This package has 6M weekly downloads according to NPM and it has no changelog or the list of changes into the releases... Can you please start documenting the changes?
> ## Regarding the 'Connection' header > Unless you're running an old version of Node (< 0.11.4), by default Needle won't set the Connection header on requests, yielding Node's default...
I switched to needle, and basic auth is not working. It is not setting the authorization header properly. I tried setting these options and it doesn't work. When I manually...
I have a weird use case where I want to abort _any and all_ needle requests when a user chooses to do so. How I have it setup right now...
Hi. I am very rarely experiencing ELIFECYCLE error and I suspect it is caused by a needle. ``` npm ERR! A complete log of this run can be found in:...
basically the title. For example in this case> `let document = await ndl('get', link, { follow_max: 5})` How can I get the last url?
**Version**: v2.6.0 (Using Needle with Promise Style) **Issue**: "follow_set_cookies" not forwarding all initial cookies when following redirects **Scenario**: 1. Send POST Request with 5 Cookies (cookie1-cookie5) to Server 2. Server...
Please see below code. Error produced by it is not possible to catch and it crashes node. ```javascript const http = require("http"), https = require("https"), url = require("url"), needle =...