httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tony Finch <...@dotat.at>
Subject Re: [BUG] 1.3.8 broke mod_speling
Date Fri, 13 Aug 1999 14:31:12 GMT
Martin Kraemer <Martin.Kraemer@mch.sni.de> wrote:
>On Thu, Aug 12, 1999 at 04:59:41PM +0100, Tony Finch wrote:
>> 
>> Why not just make the ap_is_HTTP_REDIRECT more specific and have a
>> broader macro that checks for 3XX codes?
>>
>That requires reviewing all of the places where the macro is used
>(including 3rd party modules). Some may have used ap_is_HTTP_REDIRECT()
>in the meaning "is of code class 3XX" and others may have used it in the
>meaning of "it actually is a redirection".

Good point. The new macro should be the one that checks for 3XX codes
that require a Location: header. ap_is_hard_HTTP_REDIRECT or something.

>Note also that the Location: header is optional for "300 Multiple Choices"
>because the server MAY decide that one choice is the best, while the
>others are just alternatives.

Yes, but the main point is the lack of a Location: isn't an error.

Tony.
-- 
f.a.n.finch    dot@dotat.at    fanf@demon.net    e pluribus unix

Mime
View raw message