Commit 8389dc45 authored by Greg Stein's avatar Greg Stein
Browse files

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
parent 34be0d1c
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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,