cortex icon indicating copy to clipboard operation
cortex copied to clipboard

Allow custom headers in CORS for async API

Open deliahu opened this issue 4 years ago • 0 comments
trafficstars

Notes

We currently use gorilla/handlers for CORS, which does not support * in their handlers.AllowedHeaders() function. Therefore, if the user sets a custom header in their request, the async-gateway will respond with 403 Forbidden. The request will work if no additional headers are added by the user.

deliahu avatar Apr 13 '21 02:04 deliahu