3 Replies Latest reply on Jan 31, 2012 3:31 AM by michal.warecki

    Http Method OPTIONS headers

    michal.warecki

      Hi,

       

      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.

       

      Thx