GitHub user aldettinger opened a pull request:
https://github.com/apache/camel/pull/1888
CAMEL-11316: Added support for HTTP OPTIONS in camel-restlet
Please find a proposal, adding support for HTTP OPTIONS in camel-restlet
([CAMEL-11316](https://issues.apache.org/jira/browse/CAMEL-11316)).
+ It preserves the CORS headers management from
camel-core/RestBindingAdvice.java
+ I have kept the `ALLOW` header methods ordering already in use in
camel-restlet for `CLIENT_ERROR_METHOD_NOT_ALLOWED`, which may diverge from
other rest components.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/aldettinger/camel master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/1888.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1888
----
commit 92b16e638aa01d671a35aeef41312aa277295a09
Author: aldettinger <[email protected]>
Date: 2017-08-14T13:49:23Z
CAMEL-11316: Added support for HTTP OPTIONS in camel-restlet
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---