Skip to content

OPTIONS in Allow for MethodHandler #237

@bakz

Description

@bakz

MethodHandler supports OPTIONS, but it's not included in Allow.

allow := []string{}

allow := []string{http.MethodOptions}

In case of 405, client should know OPTIONS is an option.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions