Skip to content

Respect client request "accept" header #114

Description

@bpbecker

Currently Jarvis does not check the 'accept' request header and may send a response content-type that doesn't match the 'accept' header.
The HTTP standard says that a server SHOULD (but not MUST) check the accept header and not doing so is a protocol violation.
So, while Jarvis is technically compliant with the standard, we ought to be a good citizen and check the 'accept' header.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions