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

Rest DSL with Jetty9|netty4-http components returns 404 instead of 405, when http method is not supported

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.21.2, 2.22.1, 2.23.0
    • None
    • None
    • Unknown

    Description

      For example when a GET request is expected but client send a POST, currently it returns 404, however, it should return 405 instead, as resource actually exists and just the HTTP method mismatch

      Attachments

        Activity

          People

            ffang Freeman Yue Fang
            ffang Freeman Yue Fang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: