You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Vinod Kone (JIRA)" <ji...@apache.org> on 2016/05/11 00:35:12 UTC

[jira] [Created] (MESOS-5363) Content-Type for HTTP error responses should match Accept-Type in requests

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)