httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dgau...@hyperreal.org
Subject cvs commit: apachen/src/modules/standard mod_autoindex.c mod_dir.c
Date Wed, 22 Oct 1997 16:59:24 GMT
dgaudet     97/10/22 09:59:24

  Modified:    src/modules/standard mod_autoindex.c mod_dir.c
  Log:
  When method is not GET, just DECLINE rather than return NOT_IMPLEMENTED.
  
  PR:		1241
  Reviewed by:	Dean Gaudet, Jim Jagielski, Martin Kraemer
  
  Revision  Changes    Path
  1.52      +1 -1      apachen/src/modules/standard/mod_autoindex.c
  
  Index: mod_autoindex.c
  ===================================================================
  RCS file: /export/home/cvs/apachen/src/modules/standard/mod_autoindex.c,v
  retrieving revision 1.51
  retrieving revision 1.52
  diff -u -r1.51 -r1.52
  --- mod_autoindex.c	1997/10/16 18:55:51	1.51
  +++ mod_autoindex.c	1997/10/22 16:59:22	1.52
  @@ -1104,7 +1104,7 @@
       int allow_opts = allow_options(r);
   
       if (r->method_number != M_GET)
  -	return NOT_IMPLEMENTED;
  +	return DECLINED;
   
       /* OK, nothing easy.  Trot out the heavy artillery... */
   
  
  
  
  1.42      +1 -1      apachen/src/modules/standard/mod_dir.c
  
  Index: mod_dir.c
  ===================================================================
  RCS file: /export/home/cvs/apachen/src/modules/standard/mod_dir.c,v
  retrieving revision 1.41
  retrieving revision 1.42
  diff -u -r1.41 -r1.42
  --- mod_dir.c	1997/09/18 18:40:51	1.41
  +++ mod_dir.c	1997/10/22 16:59:23	1.42
  @@ -182,7 +182,7 @@
           return error_notfound;
   
       if (r->method_number != M_GET)
  -        return NOT_IMPLEMENTED;
  +        return DECLINED;
   
       /* nothing for us to do, pass on through */
   
  
  
  

Mime
View raw message