https://bz.apache.org/bugzilla/show_bug.cgi?id=69735
--- Comment #15 from Christopher Schultz <ch...@christopherschultz.net> --- (In reply to Remy Maucherat from comment #13) > (In reply to Christopher Schultz from comment #12) > > I mentioned this in a previous comment. If the file requested exists, I > > think it should be returned with no content-negotiation. > > I would need a source for that since it would seem highly unlikely. The > default resource would be there if no locales match (IMO). https://httpd.apache.org/docs/2.4/mod/mod_negotiation.html#multiviews " If the server receives a request for /some/dir/foo and /some/dir/foo does **not** exist, then the server reads the directory looking for all files named foo.* [...] " > > In that case, the > > presence of the Accept-Language is not relevant, nor is the default locale > > of the JVM. > > That's not the issue, the problem is that if there's no Accept-Language > header, then getLocales will have the local JVM locale. If content-negotiation is not performed (per the above quote), then the return value of HttpServletRequest.getLocales is not relevant. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org