Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The experimental.globalFetch API doesn't handle redirects. #23

kickscondor opened this issue Jun 29, 2019 · 0 comments


None yet
1 participant
Copy link

commented Jun 29, 2019

Again, thank you for this fine software - I love it! I've been using globalFetch to read index.html pages, which has led me to discover that redirect errors (such as 301) do not automatically redirect (like the Fetch API normally does.) This is because Beaker doesn't use the browser's fetch call - it uses Node's http.request, throwing away many of the options which are passed in.

It seems that a Fetch polyfill library could bring this to parity - but wanted to ask here if it would be appropriate to submit a pull request like that. Ciao!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.