valeriangalliat / fetch-cookie

Decorator for a `fetch` function to support automatic cookie storage and population. 🍪
The Unlicense
135 stars 29 forks source link

Library ignores proxy agent option on redirects #47

Closed ciricc closed 2 years ago

ciricc commented 4 years ago

In your code follow redirects works fine, but when you imitate following you are forgetting about proxy agent option and custom headers like User-Agent and other.

rpulivarthy commented 4 years ago

There is a PR that should address this issue.

valeriangalliat commented 2 years ago

I believe this is no longer necessary since https://github.com/valeriangalliat/fetch-cookie/commit/8efac8ff47c2ef9627f2e7642208bc0a9537367e (released in 0.10.0), please reopen if still you run into this issue! :heart: