simple-get icon indicating copy to clipboard operation
simple-get copied to clipboard

Simplest way to make http get requests. Supports HTTPS, redirects, gzip/deflate, streams in < 100 lines

Results 23 simple-get issues
Sort by recently updated
recently updated
newest added

Currently simple-get will send a duplicated POST request if the response has a location header. I think this is not correct because POST requests are not idempotent. Moreover this is...

This switches the public API to use the options defined by WHATWG URL instead of Node.js `http.request`. Avoids depending on deprecated `url` and `querystring`. Background discussion in https://github.com/feross/simple-get/pull/55#issuecomment-1030846150 (targeting `gh-actions`...

closes #68 maybe take the opportunity to switch to promises also in this major change?

Closes #53 This also updates travis to use node versions 12 and 10 for tests. node 8.x is at EOL [starting December 2019](https://github.com/nodejs/Release#release-schedule).

It'd be useful if this module had TS types.

> The querystring API is considered [Legacy](https://nodejs.org/api/querystring.html#querystring_query_string). While it is still maintained, new code should use the URLSearchParams API instead. https://github.com/feross/simple-get/blob/81eaf56c012dec4f64f223f4c41811e32ea2ce53/index.js#L9 The npm package is deprecated also: https://www.npmjs.com/package/querystring

time to drop commonjs support?

After upgrading to Node.js 14, I do not receive HTTP 500 responses with code of the form: ``` get.concat('http://example.com', function (err, res, data) { } ); ``` This can be...

Hi, I was wondering if this module should begin to use https://npm.im/undici instead of the regular node `http/s` client.

So I'm sending a JSON object via the POST method and using `.concat`, but the problem is the endpoint is returning 204 No Content and `simple-get` is trying to parse...