Skip to content

Support dynamic multi origin selection and fix OPTIONS CORS flow#1146

Open
Sightem wants to merge 1 commit into
CrowCpp:masterfrom
Sightem:master
Open

Support dynamic multi origin selection and fix OPTIONS CORS flow#1146
Sightem wants to merge 1 commit into
CrowCpp:masterfrom
Sightem:master

Conversation

@Sightem

@Sightem Sightem commented Feb 14, 2026

Copy link
Copy Markdown
Contributor

This PR implements the CORS TODO for dynamic multi origin support and aligns middleware behavior with CORS expectations for credentialed requests and preflight handling, as well as fixing the request lifecycle so auto OPTIONS responses are finalized after headers are parsed, allowing CORS middleware to read Origin

@Sightem

Sightem commented Feb 14, 2026

Copy link
Copy Markdown
Contributor Author

This is quite old, i found the modifications locally when going through my projects folder. I vaguely recall going against some RFCs for cors, though I cannot fully remember. tests pass.

@Sightem

Sightem commented Feb 17, 2026

Copy link
Copy Markdown
Contributor Author

This seems weird, i cant reproduce the error locally

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.

1 participant