Vinod Kone created MESOS-5363:
---------------------------------

             Summary: Content-Type for HTTP error responses should match 
Accept-Type in requests
                 Key: MESOS-5363
                 URL: https://issues.apache.org/jira/browse/MESOS-5363
             Project: Mesos
          Issue Type: Bug
            Reporter: Vinod Kone


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to