Loading server/protocol.c +2 −1 Original line number Diff line number Diff line Loading @@ -1032,7 +1032,8 @@ AP_DECLARE(void) ap_set_sub_req_protocol(request_rec *rnew, /* did the original request have a body? (e.g. POST w/SSI tags) * if so, make sure the subrequest doesn't inherit body headers */ if (r->read_length) { if (apr_table_get(r->headers_in, "Content-Length") || apr_table_get(r->headers_in, "Transfer-Encoding")) { clone_headers_no_body(rnew, r); } else { /* no body (common case). clone headers the cheap way */ Loading Loading
server/protocol.c +2 −1 Original line number Diff line number Diff line Loading @@ -1032,7 +1032,8 @@ AP_DECLARE(void) ap_set_sub_req_protocol(request_rec *rnew, /* did the original request have a body? (e.g. POST w/SSI tags) * if so, make sure the subrequest doesn't inherit body headers */ if (r->read_length) { if (apr_table_get(r->headers_in, "Content-Length") || apr_table_get(r->headers_in, "Transfer-Encoding")) { clone_headers_no_body(rnew, r); } else { /* no body (common case). clone headers the cheap way */ Loading