]> granicus.if.org Git - apache/commitdiff
Don't set r->status_line. Apache uses that in preference to any other status
authorGreg Stein <gstein@apache.org>
Mon, 8 Oct 2001 23:10:37 +0000 (23:10 +0000)
committerGreg Stein <gstein@apache.org>
Mon, 8 Oct 2001 23:10:37 +0000 (23:10 +0000)
line, thinking we've set a custom status. Of course, it says "200 OK" no
matter what error we happen to return(!).

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91372 13f79535-47bb-0310-9956-ffa450edef68

modules/dav/main/mod_dav.c

index baa5d9ad7f7f6ec241109fc55f0c3c7dd16ba199..219ef3584931758d4d5d4bdad7ea8bc682694057 100644 (file)
@@ -4210,7 +4210,6 @@ static int dav_method_merge(request_rec *r)
        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,