[ 
https://issues.apache.org/jira/browse/MESOS-4056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15051177#comment-15051177
 ] 

Joris Van Remoortere commented on MESOS-4056:
---------------------------------------------

Alex will file a JIRA to discuss cleaning up the error message construction 
such that the constructor generates them. This is less error prone and allows 
us to control the format of the message in 1 place.

> Respond with `MethodNotAllowed` if a request uses an unsupported method
> -----------------------------------------------------------------------
>
>                 Key: MESOS-4056
>                 URL: https://issues.apache.org/jira/browse/MESOS-4056
>             Project: Mesos
>          Issue Type: Improvement
>            Reporter: Alexander Rukletsov
>            Assignee: Alexander Rukletsov
>            Priority: Minor
>              Labels: mesosphere
>
> We are inconsistent right now in how we respond to endpoint requests with 
> unsupported methods: both {{MethodNotAllowed}} and {{BadRequest}} are used. 
> We are also not consistent in the error message we include in the body.
> This ticket proposes use {{MethodNotAllowed}} with standardized message text.



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

Reply via email to