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

Fix incorrect lowercase response headers set for XHR responses #1876

Closed

Conversation

jeanregisser
Copy link
Contributor

Trivial change to fix the lowercase response headers set for XHR responses.

What would happen is the first iterated header wouldn't be part of _lowerCaseResponseHeaders.
Also it would mutate the original responseHeaders object, mixing lowercase headers with the original values.

@facebook-github-bot facebook-github-bot added GH Review: review-needed CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. labels Jul 6, 2015
@brentvatne
Copy link
Collaborator

Thanks, this looks good to me! cc @nicklockwood the on-call man

@nicklockwood
Copy link
Contributor

Thanks @a2, for blowing my cover ;-)

@a2
Copy link
Contributor

a2 commented Jul 7, 2015

😇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants