Skip to content

Accept format middleware #27

@testinfected

Description

@testinfected

A middleware for automatically adding a format extension at the end of the request path based on the Accept http header.

For instance:

GET /some/resource
Accept: application/json

would become:

GET /some/resource.json
Accept: application/json

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions