Is it a way to set http headers in OPTIONS method? I want to make cross domain ajax request and browser first request web-service with OPTIONS method and next with GET or POST. Browser requires Access-Control-Allow-Origin header in OPTIONS response so I have to set it.
Is it possible to configure it with CXF or rather with Jetty?
I'm using cxf with Fuse ESB.