3 Replies Latest reply: Jan 31, 2012 3:31 AM by Michał Warecki RSS

    Http Method OPTIONS headers

    Michał Warecki Novice

      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