Introduce CORS, as explained in: http://metajack.im/2010/01/19/crossdomain-ajax-for-xmpp-http-binding-made-easy/
I've reopened the issue
I am working on the BOSH components for another issue (), so I will take a stab at this one as well.
That's great!
Thank you.
Updated HttpBindServlet to return CORS headers for all HTTP responses (including errors) if CORS is active.
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 Headers
Accept /
Accept-Encoding gzip, deflate
Accept-Language pl,en-gb;q=0.8,en-us;q=0.5,en;q=0.3
Content-Type text/plain
Host myserver:7070
Origin http://myserver
Referer http://myserver/converse.js-0.6.4/chat.html
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Firefox/24.0
Response Headers
Accept-Ranges bytes
Content-Length 222
Content-Type text/html
Last-Modified Tue, 28 May 2013 14:42:50 GMT
Server Jetty(7.x.y-SNAPSHOT)