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

Create OptionsVerbDefinition - REST

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.15.3
    • Fix Version/s: 2.16.0, 2.15.4
    • Component/s: rest
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      Some API like Swagger sends HTTP OPTIONS method request (http://restcookbook.com/HTTP%20Methods/options/) to get, when CORS is enable, the CORS HTTP Headers (Access-Control-Allow-*) prior to run a POST/PUT or DELETE operation

      A workaround has been proposed to pass using the verb("") method the ("OPTIONS") (see camel-8373) - but it should be better that we propose also a OptionsVerbDefinition.

        Attachments

          Activity

            People

            • Assignee:
              cmoulliard Charles Moulliard
              Reporter:
              cmoulliard Charles Moulliard
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: