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

Response.headers in fetch parsed not correctly #10

Open
yanni4night opened this issue Aug 16, 2017 · 0 comments
Open

Response.headers in fetch parsed not correctly #10

yanni4night opened this issue Aug 16, 2017 · 0 comments
Assignees
Milestone

Comments

@yanni4night
Copy link
Member

When parse headers like this:

const res = await fetch(...);
for (let header of res.headers) {

}

You find all headers can barely parsed correctly.

This is caused by low-version whatwg-fetch, you have to upgrade it to v2. Or else, use another fetch library.

@yanni4night yanni4night added this to the 0.35.0 milestone Aug 16, 2017
@yanni4night yanni4night self-assigned this Aug 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant