httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roy Fielding <field...@hyperreal.com>
Subject cvs commit: apache/src http_protocol.c
Date Sun, 01 Dec 1996 05:34:13 GMT
fielding    96/11/30 21:34:12

  Modified:    src       http_protocol.c
  Log:
  We need to allow HEAD wherever GET is allowed.
  Reviewed by: Alexei Kosut, Randy Terbush
  
  Revision  Changes    Path
  1.78      +1 -1      apache/src/http_protocol.c
  
  Index: http_protocol.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/http_protocol.c,v
  retrieving revision 1.77
  retrieving revision 1.78
  diff -C3 -r1.77 -r1.78
  *** http_protocol.c	1996/11/25 11:21:59	1.77
  --- http_protocol.c	1996/12/01 05:34:10	1.78
  ***************
  *** 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