[
https://issues.apache.org/jira/browse/CAMEL-9129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15115308#comment-15115308
]
Claus Ibsen commented on CAMEL-9129:
------------------------------------
Thanks for spotting add the missing file to jaxb.index
> Create OptionsVerbDefinition - REST
> -----------------------------------
>
> Key: CAMEL-9129
> URL: https://issues.apache.org/jira/browse/CAMEL-9129
> Project: Camel
> Issue Type: New Feature
> Components: rest
> Affects Versions: 2.15.3
> Reporter: Charles Moulliard
> Assignee: Charles Moulliard
> Fix For: 2.16.0, 2.15.4
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)