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

OPTIONS Http request on REST resource returns incorrect content of Allow header

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.23.0
    • camel-undertow
    • None
    • Unknown

    Description

      I have a REST resource which consumes multiple Http methods (for example GET, POST and PUT). If I send OPTIONS request to resource and I expect to receive Allow Http header with this content:
      Allow: GET,POST,PUT,OPTIONS
      That does not happen because I receive header which contains only two methods one of them is OPTIONS.
      Allow: GET,OPTIONS
      I have try multiple implementations and only camel-restlet works as I expect. These components contain bug:
      camel-undertow
      camel-servlet
      camel-jetty
      camel-netty4-http

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: