Skip to content

cors middleware: match :options request in routing #1

@carbon-hvze

Description

@carbon-hvze

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions