Skip to content

support content negotiation via Accept header #171

@FND

Description

@FND

currently requesting an alternative representation requires a query parameter (e.g. ?format=json) - the same should be possible with an Accept header

I'd tried looking into this, but the current implementation is too primitive, providing insufficient infrastructure for a Clojure ignoramus like myself to get started:
https://github.com/innoq/statuses/blob/53d3186/src/statuses/routes.clj#L12
https://github.com/innoq/statuses/blob/53d3186/src/statuses/routes.clj#L33

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions