httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roy T. Fielding" <field...@kiwi.ICS.UCI.EDU>
Subject Re: [PATCH] mod_dir HTTP_NOT_ACCEPTABLE fixup
Date Wed, 30 Apr 1997 23:23:08 GMT
>I have been quite busy with during last weeks and so I couldn't
>follow current develoment. I've just noticed, that mod_dir was patched,
>but patch didn't include one important part of my original patch -
>mod_dir should return immediately also in the case of HTTP_NOT_ACCEPTABLE.
>If content negotiation has found matching variants, but it cannot select
>acceptable variant, mod_dir must return negotiation result and not continue
>to lookup for other index files. This fix should be included in 1.2 release.

Hmmm, what if the webmaster had

    DirectoryIndex index.pdf index.html

or the equivalent, and the browser only had Accept: text/html ?
In that case, your patch would return 406.

OTOH, it is certainly true that, with

    DirectoryIndex index

your patch would be preferred.  However, the problem would also occur with

    DirectoryIndex index welcome

We should probably look for a general solution (for 1.2.1).

.....Roy

Mime
View raw message