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

Disable redirects #49

Open eithan1231 opened 5 years ago

eithan1231 commented 5 years ago

I know this is more-so a feature request - not an issue. Regardless, I imagine it would be a nice feature.

I'm working on a project that requires manual handling of redirects. Would it be possible to to add an option to disable automatic redirect following? I imagine I'm not the only person who requires such functionality.

Thanks.