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 [EMAIL PROTECTED]  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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to