Skip to content

Clean up content-type enforcement #40

@xentek

Description

@xentek

Instead of two exact matchers, we can use regex, e.g. r.HeadersRegexp("Content-Type", "application/(text|json)") (where r is a route)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions