httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randy Terbush <ra...@zyzzyva.com>
Subject Re: Bug fix for Allow header output
Date Sun, 01 Dec 1996 05:28:25 GMT

+1


> We need to allow HEAD wherever GET is allowed.
> This is my last patch for this morning.
> 
> ......Roy
> 
> Index: http_protocol.c
> ===================================================================
> RCS file: /export/home/cvs/apache/src/http_protocol.c,v
> retrieving revision 1.77
> diff -c -r1.77 http_protocol.c
> *** http_protocol.c	1996/11/25 11:21:59	1.77
> --- http_protocol.c	1996/11/30 14:14:23
> ***************
> *** 909,915 ****
>   {
>       int allowed = r->allowed;
>   
> !     return 2 + pstrcat(r->pool, (allowed & (1 << M_GET)) ? ", GET" : "",
>   		       (allowed & (1 << M_POST)) ? ", POST" : "",
>   		       (allowed & (1 << M_PUT)) ? ", PUT" : "",
>   		       (allowed & (1 << M_DELETE)) ? ", DELETE" : "",
> --- 909,915 ----
>   {
>       int allowed = r->allowed;
>   
> !     return 2 + pstrcat(r->pool, (allowed & (1 << M_GET)) ? ", GET, HEAD"
: "",
>   		       (allowed & (1 << M_POST)) ? ", POST" : "",
>   		       (allowed & (1 << M_PUT)) ? ", PUT" : "",
>   		       (allowed & (1 << M_DELETE)) ? ", DELETE" : "",




Mime
View raw message