needle icon indicating copy to clipboard operation
needle copied to clipboard

Nimble, streamable HTTP client for Node.js. With proxy, iconv, cookie, deflate & multipart support.

Results 86 needle issues
Sort by recently updated
recently updated
newest added

Hi I can't catch the bug while using follow_set_cookies. The only way to catch it was using a try/catch block around the `protocol.request` inside needle https://github.com/tomas/needle/blob/af443bd158fb114f853b1dbd2e2a04eff2d1e1f2/lib/needle.js#L472 I used this code...

Hey @tomas We're using an older version of needle and I wanted to find out what is the changelog since then, but I am not having much of success. npm...

Hi! 👋 Firstly, thanks for your work on this project! 🙂 Today I used [patch-package](https://github.com/ds300/patch-package) to patch `[email protected]` for the project I'm working on. Mobile deeplinks can redirect to non...

I'm trying to download a file (or other 'get' requests) which have redirects, but they seem to hang for some time. E.g. let's say I use a promise to download...

The multipart library uses the flatten function, that i've included here for reference: ```js // flattens nested objects for multipart body function flatten(object, into, prefix) { into = into ||...

```js const options = { follow_set_cookies: true, cookies: { test: new Date().valueOf() } }; const response = await needle('GET', 'https://setcookie.net/', undefined, options); console.log(response.body.match(/(.+)/i)?.[1]); const response2 = await needle('GET', 'https://shorturl.at/BQUI3', undefined,...