On 20.05.2016 12:06, André Warnier (tomcat) wrote:
On 20.05.2016 11:34, Sjir Bagmeijer wrote:
Hello,
We have some issues with getting cors to work for requests within the 40x
status code
range.
What is interesting, is that https://www.w3.org/TR/cors/ says absolutely
nothing about
"not exist", "not found", 404 status etc.
(It does say a lot about Authorization etc., but apparently nothing about
resources which
do not exist)
While continuing to search the web for this, I found a number of recommendations when
searching Google for "CORS and 404", among which this one :
http://www.bentedder.com/cors-issue-with-options-request-returning-404/
I believe that you could achieve the same with, for example, the
URLRewriteFilter.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org