httpie icon indicating copy to clipboard operation
httpie copied to clipboard

A Node.js HTTP client as easy as pie! 🥧

Results 10 httpie issues
Sort by recently updated
recently updated
newest added

Consider a request to a server that successfully returns XML data (aka anything that is not JSON). In the [node version](https://github.com/lukeed/httpie/blob/2d6d60273f139ceb7002d2198af9d379ba4f79fa/src/node.js#L34) we have this flow: 1. construct `out` as the...

NOTE: not really an issue i want to preform the following using httpie ``` const file = fs.createWriteStream("file.jpg"); const request = http.get("https://somedomain.com/sampleimage.jpg", function(response) { response.pipe(file); }); ``` whats the best...

feedback wanted

welp, I'm in a place where I need to abort requests sometimes. - node: [`request.destroy()`](https://nodejs.org/api/http.html#requestdestroyerror) - XHR: [`request.abort()`](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/abort) - fetch: you [pass in a `signal`](https://developer.mozilla.org/en-US/docs/Web/API/fetch#parameters) that's a `new AbortController()` that...

Hi, Recently in one of my project [Node-secure](https://github.com/ES-Community/nsecure) i spotted that the part of the code that was responsible to fetch data on the npm registry was not able to...

Hi! I see we're working hard on version two. When should we expect it?)

> _**Disclaimer:** The browser implementation is already done! I'm just deciding if it should be a part of httpie or be its own thing._ Should `httpie` offer a browser implementation?...

feedback wanted

Currently, if `timeout` is defined in [`request options`](https://nodejs.org/api/http.html#http_http_request_url_options_callback), it's ignored and the request does not abort. Shamefully adopted from: [feross/simple-get/index.js#L65](https://github.com/feross/simple-get/blob/d4a4b65d6a7f7499fd588409bfcdf66c3984d43a/index.js#L65) @feross 🤓

Hi, When I add httpie to an angular project I get the following error: ``` Error: node_modules/httpie/index.d.ts:1:21 - error TS2307: Cannot find module 'url' or its corresponding type declarations. 1...

Hi, I've installed your library but some weird TypeScript error appeared. `typescript: 5.2.2` `httpie: ^2.0.0-next.13` ``` Could not find a declaration file for module 'httpie'. 'e:/repos/tft-roller/tft-roller-client/node_modules/httpie/node/index.mjs' implicitly has an 'any'...

Hi there 👋 I hope all is well @lukeed! This PR adds the possibility to provide a `signal` from `AbortController` and handles abort errors by assigning `.aborted = true` to...