Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-20633

camel-rest-dsl - Client request validation should return 405 for missing body

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • None
    • 4.6.0
    • camel-core, rest
    • None
    • Unknown

    Description

      We return 400 today, but its likely better to return 405 if body is required and its missing

      405 Method Not Allowed
      A request method is not supported for the requested resource; for example, a GET request on a form that requires data to be presented via POST, or a PUT request on a read-only resource.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              davsclaus Claus Ibsen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: