Lines Matching defs:headers_in
2349 proxy_auth = apr_table_get(r->headers_in, "Proxy-Authorization");
3300 x.is_req = (headers == r->headers_in);
3345 const apr_table_entry_t *headers_in;
3409 const char* hostname = apr_table_get(r->headers_in,"Host");
3431 * pairs in r->headers_in have been created out of r->pool and
3436 saved_headers_in = r->headers_in;
3437 r->headers_in = apr_table_copy(r->pool, saved_headers_in);
3442 apr_table_unset(r->headers_in, "Via");
3454 apr_table_mergen(r->headers_in, "Via",
3483 if (((val = apr_table_get(r->headers_in, "Expect")) == NULL)
3486 apr_table_mergen(r->headers_in, "Expect", "100-Continue");
3517 apr_table_mergen(r->headers_in, "X-Forwarded-For",
3523 if ((buf = apr_table_get(r->headers_in, "Host"))) {
3524 apr_table_mergen(r->headers_in, "X-Forwarded-Host", buf);
3531 apr_table_mergen(r->headers_in, "X-Forwarded-Server",
3537 if (ap_proxy_clear_connection(r, r->headers_in) < 0) {
3542 headers_in_array = apr_table_elts(r->headers_in);
3543 headers_in = (const apr_table_entry_t *) headers_in_array->elts;
3545 if (headers_in[counter].key == NULL
3546 || headers_in[counter].val == NULL
3549 || !strcasecmp(headers_in[counter].key, "Host")
3554 || !strcasecmp(headers_in[counter].key, "Keep-Alive")
3555 || !strcasecmp(headers_in[counter].key, "TE")
3556 || !strcasecmp(headers_in[counter].key, "Trailer")
3557 || !strcasecmp(headers_in[counter].key, "Upgrade")
3567 if (!strcasecmp(headers_in[counter].key,"Proxy-Authorization")) {
3577 if (!strcasecmp(headers_in[counter].key, "Transfer-Encoding")) {
3578 *old_te_val = headers_in[counter].val;
3581 if (!strcasecmp(headers_in[counter].key, "Content-Length")) {
3582 *old_cl_val = headers_in[counter].val;
3588 if ( !strcasecmp(headers_in[counter].key, "If-Match")
3589 || !strcasecmp(headers_in[counter].key, "If-Modified-Since")
3590 || !strcasecmp(headers_in[counter].key, "If-Range")
3591 || !strcasecmp(headers_in[counter].key, "If-Unmodified-Since")
3592 || !strcasecmp(headers_in[counter].key, "If-None-Match")) {
3597 buf = apr_pstrcat(p, headers_in[counter].key, ": ",
3598 headers_in[counter].val, CRLF,
3608 r->headers_in = saved_headers_in;