Skip to content

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

Open
@berislavlopac

Description

@berislavlopac

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions