Commit 81882e18 authored by William A. Rowe Jr's avatar William A. Rowe Jr
Browse files

  Readded "downgrade-1.0" which I (inadvertantly) pulled with the
  map_to_storage patch.  I knew it had to have a better home, and
  it sure looks like this is it.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90683 13f79535-47bb-0310-9956-ffa450edef68
parent 5b014fdb
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -898,6 +898,10 @@ static void basic_http_header_check(request_rec *r,
    else {
        *protocol = AP_SERVER_PROTOCOL;
    }

    if (r->proto_num > HTTP_VERSION(1,0) && apr_table_get(r->subprocess_env, "downgrade-1.0")) {
        r->proto_num = HTTP_VERSION(1,0);
    }
}

/* fill "bb" with a barebones/initial HTTP response header */