Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-4056

Respond with `MethodNotAllowed` if a request uses an unsupported method.

Attach filesAttach ScreenshotVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.27.0
    • Component/s: None
    • Labels:

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              alexr Alex R
              Reporter:
              alexr Alex R
              Shepherd:
              Joris Van Remoortere

              Dates

              • Created:
                Updated:
                Resolved:

                Agile

                  Issue deployment