git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@666180
13f79535-47bb-0310-9956-
ffa450edef68
*/
rp = ap_proxy_make_fake_req(origin, r);
*/
rp = ap_proxy_make_fake_req(origin, r);
- ap_proxy_pre_http_request(origin, rp);
/* In case anyone needs to know, this is a fake request that is really a
* response.
*/
/* In case anyone needs to know, this is a fake request that is really a
* response.
*/
if ((buf = apr_table_get(r->headers_out, "Content-Type"))) {
ap_set_content_type(r, apr_pstrdup(p, buf));
}
if ((buf = apr_table_get(r->headers_out, "Content-Type"))) {
ap_set_content_type(r, apr_pstrdup(p, buf));
}
+ if (!ap_is_HTTP_INFO(r->status)) {
+ ap_proxy_pre_http_request(origin, rp);
+ }
/* Clear hop-by-hop headers */
for (i=0; hop_by_hop_hdrs[i]; ++i) {
/* Clear hop-by-hop headers */
for (i=0; hop_by_hop_hdrs[i]; ++i) {