Re: [xwiki-users] CORS and headers

2015-11-30 Thread Anton Hughes
Hi Marius On 27 November 2015 at 16:47, Marius Dumitru Florea < mariusdumitru.flo...@xwiki.com> wrote: > I have it only once. Note that the Access-Control-Allow-Origin header is > set by SetHTTPHeaderFilter as specified in your web.xml file > Yes, I also had one when I was accessing a page on

Re: [xwiki-users] CORS and headers

2015-11-27 Thread Marius Dumitru Florea
On Thu, Nov 26, 2015 at 4:58 PM, Anton Hughes wrote: > Hello > > I am trying to use XWiki in a CORS fashion, that is, a javascript client > calls pages in xwiki. > > This sometimes works, but I notice sometimes it doesnt. I havent found the > reason why it doesnt always work.

Re: [xwiki-users] CORS and headers

2015-11-27 Thread Marius Dumitru Florea
On Fri, Nov 27, 2015 at 5:47 PM, Marius Dumitru Florea < mariusdumitru.flo...@xwiki.com> wrote: > On Thu, Nov 26, 2015 at 4:58 PM, Anton Hughes wrote: > >> Hello >> >> I am trying to use XWiki in a CORS fashion, that is, a javascript client >> calls pages in xwiki. >> >> This

[xwiki-users] CORS and headers

2015-11-26 Thread Anton Hughes
Hello I am trying to use XWiki in a CORS fashion, that is, a javascript client calls pages in xwiki. This sometimes works, but I notice sometimes it doesnt. I havent found the reason why it doesnt always work. The error I get when it doesnt is: The 'Access-Control-Allow-Origin' header contains