From: Greg Stein Date: Mon, 8 Oct 2001 23:10:37 +0000 (+0000) Subject: Don't set r->status_line. Apache uses that in preference to any other status X-Git-Tag: 2.0.26~73 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=900a4ce75960bcf1cea2693252e25ba7a05e7534;p=apache 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(!). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91372 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/dav/main/mod_dav.c b/modules/dav/main/mod_dav.c index baa5d9ad7f..219ef35849 100644 --- a/modules/dav/main/mod_dav.c +++ b/modules/dav/main/mod_dav.c @@ -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,