Lines Matching defs:rnew

1264 static void strip_headers_request_body(request_rec *rnew)
1266 apr_table_unset(rnew->headers_in, "Content-Encoding");
1267 apr_table_unset(rnew->headers_in, "Content-Language");
1268 apr_table_unset(rnew->headers_in, "Content-Length");
1269 apr_table_unset(rnew->headers_in, "Content-Location");
1270 apr_table_unset(rnew->headers_in, "Content-MD5");
1271 apr_table_unset(rnew->headers_in, "Content-Range");
1272 apr_table_unset(rnew->headers_in, "Content-Type");
1273 apr_table_unset(rnew->headers_in, "Expires");
1274 apr_table_unset(rnew->headers_in, "Last-Modified");
1275 apr_table_unset(rnew->headers_in, "Transfer-Encoding");
1285 AP_DECLARE(void) ap_set_sub_req_protocol(request_rec *rnew,
1288 rnew->the_request = r->the_request; /* Keep original request-line */
1290 rnew->assbackwards = 1; /* Don't send headers from this. */
1291 rnew->no_local_copy = 1; /* Don't try to send HTTP_NOT_MODIFIED for a
1293 rnew->method = "GET";
1294 rnew->method_number = M_GET;
1295 rnew->protocol = "INCLUDED";
1297 rnew->status = HTTP_OK;
1299 rnew->headers_in = apr_table_copy(rnew->pool, r->headers_in);
1300 rnew->trailers_in = apr_table_copy(rnew->pool, r->trailers_in);
1307 strip_headers_request_body(rnew);
1309 rnew->subprocess_env = apr_table_copy(rnew->pool, r->subprocess_env);
1310 rnew->headers_out = apr_table_make(rnew->pool, 5);
1311 rnew->err_headers_out = apr_table_make(rnew->pool, 5);
1312 rnew->trailers_out = apr_table_make(rnew->pool, 5);
1313 rnew->notes = apr_table_make(rnew->pool, 5);
1315 rnew->expecting_100 = r->expecting_100;
1316 rnew->read_length = r->read_length;
1317 rnew->read_body = REQUEST_NO_BODY;
1319 rnew->main = (request_rec *) r;