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

camel-rest - Send the error reason in the resonse body

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.22.0
    • camel-core
    • None
    • Novice

    Description

      CAMEL-11162 added some checks that could end up with HTTP 400, on invalid headers/params and empty body.

      It could be interesting to return the reason of failed status code. So that client knows how to modify there requests before sending again.

      Attachments

        Issue Links

          Activity

            People

              aldettinger Alex Dettinger
              aldettinger Alex Dettinger
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: