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

[server] Automatically add OPTIONS method alongside any other method #14

Open
berislavlopac opened this issue Apr 22, 2020 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects

Comments

@berislavlopac
Copy link
Owner

Is your feature request related to a problem? Please describe.
CORS requires an OPTIONS request to be sent before an actual request to an endpoint.

Describe the solution you'd like
It might be useful to have pyotr server automatically create an additional OPTION endpoint for each operation, which would return the operation spec.

Additional context
It might be an app-wide setting, on by default

@berislavlopac berislavlopac added enhancement New feature or request help wanted Extra attention is needed labels Apr 22, 2020
@berislavlopac berislavlopac added this to Awaiting triage in Server Apr 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
Server
  
Awaiting triage
Development

No branches or pull requests

1 participant