You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Joris Van Remoortere (JIRA)" <ji...@apache.org> on 2015/12/10 17:22:11 UTC

[jira] [Commented] (MESOS-4056) Respond with `MethodNotAllowed` if a request uses an unsupported method

    [ 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)