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

Trouble with headers in fetch polyfill #71

Closed
tschaub opened this issue Feb 21, 2017 · 1 comment
Closed

Trouble with headers in fetch polyfill #71

tschaub opened this issue Feb 21, 2017 · 1 comment

Comments

@tschaub
Copy link

tschaub commented Feb 21, 2017

I'm seeing issues on IE with a fetch polyfill that I think are due to the change in 11d14fc.

Basically, headers is getting passed to fetch as an array of arrays, and the implementation is expecting that the forEach callback will be called with value, name.

The MDN docs suggest that the headers property is

a Headers object or an object literal with ByteString values.

I think the spec says that the headers property can be an array of arrays

typedef (sequence<sequence> or record<ByteString, ByteString>) HeadersInit

So I'm guessing that this is an issue with the polyfill instead of this module. But I'm curious if you can give some background on 11d14fc.

@tschaub
Copy link
Author

tschaub commented Feb 22, 2017

Issue with polyfill addressed in JakeChampion/fetch#485.

@tschaub tschaub closed this as completed Feb 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant