On this part of the docs: https://github.com/tigrisdata/tigris-os-docs/blob/main/docs/buckets/cors.md?plain=1#L73
For pre-flight requests, it compares the allowed headers with those specified
by the Access-Control-Request-Headers header.
The UI specifies Enter comma separated values. (Accept,Accept-Language,Authorization or *).
Are we expected to exhaustively specify all headers in the request like Accept,Origin,Pragma that the browser attaches automatically?
I am having trouble specifying an allowlist of headers with my UI setting to X-Custom-Header. You can see the repro page here: https://bdon.github.io/tigris-cors/ (repository: https://github.com/bdon/tigris-cors)
The second CORS request fails because it needs a preflight for the custom header X-Custom-Header.
It seems to work when the allowed headers are set to * in the UI.
(Maybe this is better as a forum support ticket instead of a docs issue)
On this part of the docs: https://github.com/tigrisdata/tigris-os-docs/blob/main/docs/buckets/cors.md?plain=1#L73
The UI specifies
Enter comma separated values. (Accept,Accept-Language,Authorization or *).Are we expected to exhaustively specify all headers in the request like
Accept,Origin,Pragmathat the browser attaches automatically?I am having trouble specifying an allowlist of headers with my UI setting to
X-Custom-Header. You can see the repro page here: https://bdon.github.io/tigris-cors/ (repository: https://github.com/bdon/tigris-cors)The second CORS request fails because it needs a preflight for the custom header
X-Custom-Header.It seems to work when the allowed headers are set to
*in the UI.(Maybe this is better as a forum support ticket instead of a docs issue)