-
Notifications
You must be signed in to change notification settings - Fork 126
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
CORS Error due to lowercase #167
Comments
Added PR for this issue |
Hi @Hobart2967. Lowercasing was done to be compatible with HTTP/2 and the change that Chrome made in version 60. See more here: elm/http#31 I haven't looked into the status of the RFC or whether or not this has been reverted, but we can't just turn this off since it would break a number of existing applications. If you can share any updated research on this, then we can figure out a workaround that is backwards compatible. |
Got ya, but on the other hand you're dropping browser support. Will adjust the PR to make it configurable |
See here: #169 I added a configuration entry |
Firefox will not recognize cors headers due to them being lowercased:
lambda-api/lib/response.js
Line 68 in 0b753d8
Removing the "toLowerCase" fixes the issue.
The text was updated successfully, but these errors were encountered: