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

Preflight on REST route controllers doesn't expose all the HTTP methods/verbs #505

Open
cfvonner opened this issue Oct 1, 2018 · 4 comments

Comments

@cfvonner
Copy link
Contributor

cfvonner commented Oct 1, 2018

With basic $RESOURCE routes configured, and no changes to the framework.resourceRouteTemplates setting, and framework.preflightOptions = true, calls to the OPTIONS verb only return the Access-Control-Allow-Methods header with this value: OPTIONS,POST,GET.

Sample code can be found in this gist: https://gist.github.com/cfvonner/1f9dfd96d43a33a178b03f98c9666fb2

@seancorfield
Copy link
Member

This definitely feels like a bug that should be addressed @sneiland

@sneiland
Copy link
Contributor

@cfvonner can you provide an updated gist as the one listed here does not appear to be active anymore. Thanks

@mjhagen
Copy link
Contributor

mjhagen commented Jul 19, 2019

If no one is looking at this, I'd like to take a look as I just ran into this issue.

@sneiland
Copy link
Contributor

Please, contributions are greatly appreciated.

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

No branches or pull requests

4 participants