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

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

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.22.0
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: