httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Malo ...@perlig.de>
Subject Re: svn commit: r321449 - in /httpd/mod_mbox/trunk/module-2.0: mod_mbox_file.c mod_mbox_index.c
Date Sat, 15 Oct 2005 19:00:47 GMT
* pquerna@apache.org wrote:

>
> -	if (r->header_only)
> -	    status = OK;
> +	if (r->header_only) {
> +	    return OK;
> +        }

Actually I think, any code that checks for header_only is wrong. The core 
will take care of it. Not treating HEAD requests special ensures, that the 
RFC is fullfilled (HEAD == GET but without a body, in particular the 
headers remain the same).

nd
-- 
sub the($){+shift} sub answer (){ord q
        [* It is always 42! *]       }
           print the answer
# André Malo # http://pub.perlig.de/ #

Mime
View raw message