openwhisk-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] akrabat commented on issue #307: API Gateway removes Access-Control-Allow-Headers header
Date Fri, 01 Jun 2018 16:16:15 GMT
akrabat commented on issue #307: API Gateway removes Access-Control-Allow-Headers header
URL: https://github.com/apache/incubator-openwhisk-apigateway/issues/307#issuecomment-393929933
 
 
   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:
   
   ```
   $ curl -i -X OPTIONS -H "Access-Control-Request-Headers: Content-Type, X-Pingback" https://service.eu.ap…
   
   HTTP/2 200
   access-control-allow-credentials: true
   access-control-allow-headers: Content-Type, X-Pingback
   access-control-allow-methods: GET, POST, PUT, DELETE, PATCH, HEAD, OPTIONS
   access-control-allow-origin: *
   ```
   
   Maybe the test suite I'm writing against is wrong to expect `Access-Control-Allow-Headers`
in a "simple" request.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message