Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an option to expose headers for CORS #978

Merged
merged 2 commits into from
Jan 7, 2025
Merged

Conversation

bugdea1er
Copy link
Contributor

According to MDN Web Docs, some headers are hidden from browser clients by default
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Expose-Headers

This pull request allows to specify which headers should be exposed via the CORS middleware

@gittiver gittiver merged commit 77eda0d into CrowCpp:master Jan 7, 2025
11 checks passed
@bugdea1er bugdea1er deleted the cors branch January 7, 2025 22:55
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