-
Notifications
You must be signed in to change notification settings - Fork 106
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
Update browser polyfill to include better error message #91
Comments
@holm I've just debugged this exact issue, and for us, it was because a header value included a
Get parsed into the following key/value pairs passed to
Though, I should note: I'm only seeing this in Firefox for some reason, where the ponyfill is being pulled in despite fetch being global there. I think this is because of 123b1a2 which seems to mean the polyfill is always used over the native But basically, if you're encountering the |
I'm not sure why the code was written the way it is, but it appears to be forcing the polyfill to be used even in environments where the Fetch API exists natively, which isn't intentional and causes the bugs described in lquixada#91, lquixada#78, and lquixada#69. The original commit and PR don't describe why the behaviour was changed: lquixada@123b1a2
I'm not sure why the code was written the way it is, but it appears to be forcing the polyfill to be used even in environments where the Fetch API exists natively, which isn't intentional and causes the bugs described in lquixada#91, lquixada#78, and lquixada#69. The original commit and PR don't describe why the behaviour was changed: lquixada@123b1a2
I'm not sure why the code was written the way it is, but it appears to be forcing the polyfill to be used even in environments where the Fetch API exists natively, which isn't intentional and causes the bugs described in lquixada#91, lquixada#78, and lquixada#69. The original commit and PR don't describe why the behaviour was changed: lquixada@123b1a2
I've been working on version 4 of |
Version 4 has been officially released with |
We are currently seeing some rare instances of the error
Invalid character in header field name
in the wild.The change in whatwg-fetch at JakeChampion/fetch#880 will provide us with a better error message, so we can try to understand why this happens. It would be great if the polyfill could be updated and a new version released.
Thanks.
The text was updated successfully, but these errors were encountered: