Lines Matching refs:headers

24 static int (*ap_proxy_clear_connection_fn)(request_rec *r, apr_table_t *headers) =
113 /* Clear all connection-based headers from the incoming headers table */
122 apr_table_t *headers = ((header_dptr*)data)->table;
130 if (headers == NULL) {
131 ((header_dptr*)data)->table = headers = apr_table_make(pool, 2);
162 apr_table_addn(headers, key, warning);
168 static apr_table_t *ap_proxy_clean_warnings(apr_pool_t *p, apr_table_t *headers)
173 x.time = apr_date_parse_http(apr_table_get(headers, "Date"));
174 apr_table_do(clean_warning_headers, &x, headers, "Warning", NULL);
176 apr_table_unset(headers, "Warning");
177 return apr_table_overlay(p, headers, x.table);
180 return headers;
224 /* add empty line at the end of the headers */
371 /* Now we have headers-only, or the chunk EOS mark; flush it */
1173 /* We may encounter invalid headers, usually from buggy
1177 * the headers as totally bogus and return a 500. The sole
1179 * in between the usual MIME headers, which is a favorite
1199 "in headers returned by %s (%s)",
1205 "No HTTP headers returned by %s (%s)",
1230 /* make sure we add so as not to destroy duplicated headers
1231 * Modify headers requiring canonicalisation and/or affected
1430 /* XXX: Is this a real headers length send from remote? */
1480 /* read the headers. */
1481 /* N.B. for HTTP/1.0 clients, we have to fold line-wrapped headers*/
1482 /* Also, take care with headers with multiple occurences. */
1489 /* shove the headers direct into r->headers_out */
1548 /* strip connection listed hop-by-hop headers from response */
1565 /* Clear hop-by-hop headers */
1578 * origin server name (which does make too much sense with Via: headers)
1657 /* Moved the fixups of Date headers and those affected by
1710 /* Add minimal headers needed to allow http_in filter
1733 /* We need to copy the output headers and treat them as input
1734 * headers as well. BUT, we need to do this before we remove