feross / simple-get

Simplest way to make http get requests. Supports HTTPS, redirects, gzip/deflate, streams in < 100 lines
MIT License
401 stars 50 forks source link

use the `unzip-response` module #3

Closed sindresorhus closed 9 years ago

sindresorhus commented 9 years ago

It will convert it to an unzip stream if needed, otherwise return the original response stream.

https://github.com/sindresorhus/unzip-response

We had almost the exact thing in got so I made it a module.

feross commented 9 years ago

This is excellent! Thanks for removing the url and method properties which don't apply to client requests.

Released as 1.3.4.