Add CORS headers to HTTP-Binding/BOSH

Environment

None

Attachments

1

relates to

Activity

Przemysław Wróbel October 8, 2013 at 12:49 PM

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)

Tom Evans March 15, 2013 at 4:47 PM

Updated HttpBindServlet to return CORS headers for all HTTP responses (including errors) if CORS is active.

crome March 15, 2013 at 5:38 AM

That's great!

Thank you.

Tom Evans March 14, 2013 at 10:39 PM

I am working on the BOSH components for another issue (), so I will take a stab at this one as well.

Daryl Herzmann March 14, 2013 at 7:34 PM

I've reopened the issue

Fixed

Details

Assignee

Reporter

Fix versions

Affects versions

Priority

Created February 2, 2010 at 12:00 AM
Updated May 20, 2021 at 12:11 PM
Resolved March 15, 2013 at 4:47 PM