You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/06/01 16:14:01 UTC

[GitHub] akrabat commented on issue #307: API Gateway removes Access-Control-Allow-Headers header

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: *
   ```
   

----------------------------------------------------------------
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