Searched refs:hdrs (Results 1 - 10 of 10) sorted by relevance

/httpd/modules/cache/
H A Dmod_cache_disk.c390 file_cache_create(conf, &dobj->hdrs, pool);
395 dobj->hdrs.file = header_file(r->pool, conf, dobj, key);
480 dobj->hdrs.file = header_file(r->pool, conf, dobj, nkey);
483 rc = apr_file_open(&dobj->hdrs.fd, dobj->hdrs.file, flags, 0, r->pool);
499 dobj->hdrs.fd = dobj->vary.fd;
501 dobj->hdrs.file = dobj->vary.file;
506 apr_file_seek(dobj->hdrs.fd, APR_SET, &offset);
517 file_cache_create(conf, &dobj->hdrs, pool);
524 rc = file_cache_recall_mydata(dobj->hdrs
[all...]
H A Dmod_cache_disk.h45 disk_cache_file_t hdrs; /* headers file structure */ member in struct:disk_cache_object
/httpd/server/
H A Dutil_script.c147 const apr_table_entry_t *hdrs = (const apr_table_entry_t *) hdrs_arr->elts; local
170 if (!hdrs[i].key) {
179 if (!strcasecmp(hdrs[i].key, "Content-type")) {
180 apr_table_addn(e, "CONTENT_TYPE", hdrs[i].val);
182 else if (!strcasecmp(hdrs[i].key, "Content-length")) {
183 apr_table_addn(e, "CONTENT_LENGTH", hdrs[i].val);
191 else if (!strcasecmp(hdrs[i].key, "Authorization")
192 || !strcasecmp(hdrs[i].key, "Proxy-Authorization")) {
194 add_unless_null(e, http2env(r, hdrs[i].key), hdrs[
[all...]
/httpd/modules/filters/
H A Dmod_deflate.c111 apr_table_t *hdrs = hdrs1; local
112 const char *encoding = apr_table_get(hdrs, "Content-Encoding");
117 hdrs = hdrs2;
120 hdrs = NULL;
129 if (hdrs) {
130 apr_table_unset(hdrs, "Content-Encoding");
148 if (hdrs) {
149 apr_table_unset(hdrs, "Content-Encoding");
161 if (hdrs) {
162 apr_table_setn(hdrs, "Conten
[all...]
/httpd/support/
H A Dab.c290 *hdrs; /* optional arbitrary headers */ variable
1701 /* Host: header not overridden, add default value to hdrs */
1702 hdrs = apr_pstrcat(cntxt, hdrs, "Host: ", host_field, colonhost, "\r\n", NULL);
1705 /* Header overridden, no need to add, as it is already in hdrs */
1709 /* User-Agent: header not overridden, add default value to hdrs */
1710 hdrs = apr_pstrcat(cntxt, hdrs, "User-Agent: ApacheBench/", AP_AB_BASEREVISION, "\r\n", NULL);
1713 /* Header overridden, no need to add, as it is already in hdrs */
1717 /* Accept: header not overridden, add default value to hdrs */
[all...]
/httpd/modules/generators/
H A Dmod_cgi.c225 const apr_table_entry_t *hdrs = (const apr_table_entry_t *) hdrs_arr->elts; local
260 if (!hdrs[i].key)
262 apr_file_printf(f, "%s: %s\n", hdrs[i].key, hdrs[i].val);
271 hdrs = (const apr_table_entry_t *) hdrs_arr->elts;
274 if (!hdrs[i].key)
276 apr_file_printf(f, "%s: %s\n", hdrs[i].key, hdrs[i].val);
H A Dmod_autoindex.c1002 apr_table_t *hdrs = r->headers_in; local
1014 r_accept = apr_table_get(hdrs, "Accept");
1015 r_accept_enc = apr_table_get(hdrs, "Accept-Encoding");
1016 apr_table_setn(hdrs, "Accept", "text/html, text/plain");
1017 apr_table_unset(hdrs, "Accept-Encoding");
1091 apr_table_setn(hdrs, "Accept", r_accept);
1094 apr_table_unset(hdrs, "Accept");
1098 apr_table_setn(hdrs, "Accept-Encoding", r_accept_enc);
H A Dmod_cgid.c1105 const apr_table_entry_t *hdrs = (apr_table_entry_t *) hdrs_arr->elts; local
1142 if (!hdrs[i].key)
1144 apr_file_printf(f, "%s: %s\n", hdrs[i].key, hdrs[i].val);
1153 hdrs = (const apr_table_entry_t *) hdrs_arr->elts;
1156 if (!hdrs[i].key)
1158 apr_file_printf(f, "%s: %s\n", hdrs[i].key, hdrs[i].val);
/httpd/modules/mappers/
H A Dmod_negotiation.c268 int dont_fiddle_headers; /* 1 if we may not fiddle with accept hdrs */
570 apr_table_t *hdrs = r->headers_in; local
580 new->accepts = do_header_line(r->pool, apr_table_get(hdrs, "Accept"));
594 do_header_line(r->pool, apr_table_get(hdrs, "Accept-Encoding"));
596 do_header_line(r->pool, apr_table_get(hdrs, "Accept-Language"));
598 do_header_line(r->pool, apr_table_get(hdrs, "Accept-Charset"));
2449 apr_table_t *hdrs; local
2481 hdrs = r->err_headers_out;
2604 apr_table_mergen(hdrs, "Alternates",
2611 apr_table_mergen(hdrs, "Var
[all...]
/httpd/modules/proxy/
H A Dmod_serf.c311 serf_bucket_t *hdrs; local
318 hdrs = serf_bucket_response_get_headers(response);
319 serf_bucket_headers_do(hdrs, copy_headers_out, ctx);

Completed in 4157 milliseconds