You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by gs...@apache.org on 2001/10/09 01:10:38 UTC

cvs commit: httpd-2.0/modules/dav/main mod_dav.c

gstein      01/10/08 16:10:37

  Modified:    modules/dav/main mod_dav.c
  Log:
  Don't set r->status_line. Apache uses that in preference to any other status
  line, thinking we've set a custom status. Of course, it says "200 OK" no
  matter what error we happen to return(!).
  
  Revision  Changes    Path
  1.61      +0 -1      httpd-2.0/modules/dav/main/mod_dav.c
  
  Index: mod_dav.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/dav/main/mod_dav.c,v
  retrieving revision 1.60
  retrieving revision 1.61
  diff -u -r1.60 -r1.61
  --- mod_dav.c	2001/08/23 19:00:07	1.60
  +++ mod_dav.c	2001/10/08 23:10:37	1.61
  @@ -4210,7 +4210,6 @@
          is going to do something different (i.e. an error), then it must
          return a dav_error, and we'll reset these values properly. */
       r->status = HTTP_OK;
  -    r->status_line = ap_get_status_line(HTTP_OK);	/* ### needed? */
       r->content_type = "text/xml";
   
       /* ### should we do any preliminary response generation? probably not,