Skip to:
Introduce CORS, as explained in: http://metajack.im/2010/01/19/crossdomain-ajax-for-xmpp-http-binding-made-easy/
It seems that CORS headers are not set at all for 3.8.2 although I have enabled support for CORS in the admin panel:
Request HeadersAccept /Accept-Encoding gzip, deflateAccept-Language pl,en-gb;q=0.8,en-us;q=0.5,en;q=0.3Content-Type text/plainHost myserver:7070Origin http://myserverReferer http://myserver/converse.js-0.6.4/chat.htmlUser-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Firefox/24.0
Response HeadersAccept-Ranges bytesContent-Length 222Content-Type text/htmlLast-Modified Tue, 28 May 2013 14:42:50 GMTServer Jetty(7.x.y-SNAPSHOT)
Updated HttpBindServlet to return CORS headers for all HTTP responses (including errors) if CORS is active.
That's great!
Thank you.
I am working on the BOSH components for another issue (), so I will take a stab at this one as well.
I've reopened the issue
Introduce CORS, as explained in: http://metajack.im/2010/01/19/crossdomain-ajax-for-xmpp-http-binding-made-easy/