httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 17936] - Does not return HTTP 406 for restricted client Accept headers
Date Thu, 13 Mar 2003 16:27:05 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17936>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17936

Does not return HTTP 406 for restricted client Accept headers





------- Additional Comments From nd@perlig.de  2003-03-13 16:27 -------
I know the docs ;-)

But it's a simple answer: mod_negotiation is not involved in the request.
Multiviews apply, if and only if the requested resource does not map exactly to
a file (or directory), i.e. if the server would return a 404 otherwise (also
described in the docs somewhere)
type maps apply if the requested (existing) file is handled by the type-map handler.

So if you're explicitely requesting an existing resource, which isn't magically
negotiated (type-maps), mod_negotiation feels not responsible for the request.
No bug.

This is, by the way, the only way it can work. Consider, for example, the
following situation:

- request with Accept: something
-> response 406 with a list of available variants.
-> user explicitely selects one variant but _doesn't_ change his Accept-Header
-> response 406? no. ignore Accept-Header, because it is an explicitely
requested resource which has no alternative variants.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message