Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
Currently, HTTP error responses (4xx and 5xx) with body are sent with Content-Type `text/plain`. This is done even if the original HTTP request didn't contain `text/plain` as one of the Accept-Types in the header. Once we use application level error codes (MESOS-4548) in the body of HTTP responses, we should match the Content-Type of response to Accept-Type in the request.
Attachments
Issue Links
- relates to
-
MESOS-4548 Errors communicated to the scheduler should be associated with stable error codes.
- Open