spring-framework/spring-websocket/src
Rossen Stoyanchev 49d7bda722 Improve CORS handling in AbstractSockJsService
After this change, AbstractSockJsService does not add CORS headers if
the response already contains an "Access-Control-Allow-Origin" header.
Essentially it backs off assuming CORS headers are handled centrally
e.g. through a Filter.

In order to support this, the ServletServerHttpResponse now returns an
instance of HttpHeaders that also provides access to headers already
present in the HttpServletResponse.

Issue: SPR-11443
2014-03-05 21:06:46 -05:00
..
main Improve CORS handling in AbstractSockJsService 2014-03-05 21:06:46 -05:00
test Improve CORS handling in AbstractSockJsService 2014-03-05 21:06:46 -05:00