Skip to content

Add 'Access-Control-Allow-Headers' to CORS headers - #76

Open
Firefishy wants to merge 1 commit into
pnorman:mainfrom
Firefishy:patch-1
Open

Firefishy wants to merge 1 commit into
pnorman:mainfrom
Firefishy:patch-1

Conversation

@Firefishy

Copy link
Copy Markdown

Add Access-Control-Allow-Headers: "X-Requested-With" to CORS access headers to allow browsers to send X-Requested-With request header.

Add Access-Control-Allow-Headers: "X-Requested-With" to CORS access headers to allow browsers to send X-Requested-With request header.
@pnorman

pnorman commented Sep 8, 2026

Copy link
Copy Markdown
Owner

CI failure is related to an old version of hynek/build-and-inspect-python-package and not the PR

I'd rather not code a deployment-specific header into server but have it as you did, in the deployment code.

I was looking at Access-Control-Allow-Headers: * but it doesn't look like that will work if the client sends any cookies

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants