-
Notifications
You must be signed in to change notification settings - Fork 45
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
API Gateway removes Access-Control-Allow-Headers header #307
Comments
side note but why are there two |
A little bit more investigation shows that if I do a pre-flight OPTIONS call, then API Gateway will respond with a reflection of what I send:
Maybe the test suite I'm writing against is wrong to expect |
@akrabat i know this is an old issue, but do you happen to have the api config (swagger) you passed in here? |
I've never used the swagger config, so I would have connected it via |
@mhamann what's the status on this? |
There should be three states:
I believe this is working correctly, but I'd have to look at the test cases to confirm that. |
Given an action that looks like this:
that's wired up to the API Gateway, I expect to see the Access-Control-Allow-Headers header in the response. Instead it is gone!
Headers in Web Action response:
Headers in the API Gateway response:
As you can see, the
Access-Control-Allow-Headers
header that's in the web action response is missing from the API Gateway response.The text was updated successfully, but these errors were encountered: