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

Set referer header when redirecting #28

Closed jhermsmeier closed 7 years ago

jhermsmeier commented 7 years ago

This sets the header to the redirecting location, as some servers will reject redirected requests without a referer header.