Skip to content

Respect client request "accept" header #114

@bpbecker

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

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions