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

cors middleware: match :options request in routing #1

Open
carbon-hvze opened this issue Oct 4, 2022 · 1 comment
Open

cors middleware: match :options request in routing #1

carbon-hvze opened this issue Oct 4, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@carbon-hvze
Copy link
Contributor

https://github.com/zen-lang/zen-http/blob/master/src/zen/http/core.clj#L77

currently OPTIONS method is hardcoded in handle function

it is possible to match OPTIONS as GET for all the URIs in routing implementation

@carbon-hvze carbon-hvze added the enhancement New feature or request label Oct 4, 2022
@carbon-hvze
Copy link
Contributor Author

same applies for :HEAD request method

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant