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

headers can be lowercase #11

Open
walterdeboer opened this issue Sep 21, 2017 · 2 comments
Open

headers can be lowercase #11

walterdeboer opened this issue Sep 21, 2017 · 2 comments

Comments

@walterdeboer
Copy link

In chrome 60 XHR headers will be returned in lowercase, see https://stackoverflow.com/questions/45415480/xhr-getallresponseheaders-does-not-return-headers-as-expected-in-chrome-60

These are not recognised by the Uploader since it expects Content-Type instead of content-type

@walterdeboer
Copy link
Author

walterdeboer commented Sep 21, 2017

See #10, though I would just add a toLowerCase() to the fields in parseHeaders() and user lowercase headers everywhere...

@deanproxy
Copy link

Yeah, this may be a better way. I went for the least intrusive way to get it to work for my condition. I think your suggestion may be a bit more robust.

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

2 participants