Skip to content
This repository has been archived by the owner on Jun 3, 2020. It is now read-only.

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

Open
kickscondor opened this issue Jun 29, 2019 · 0 comments
Open

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

kickscondor opened this issue Jun 29, 2019 · 0 comments

Comments

@kickscondor
Copy link
Contributor

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant