Home
last modified time | relevance | path

Searched refs:header_content (Results 1 – 8 of 8) sorted by relevance

/PHP-5.5/sapi/phttpd/
H A Dphttpd.c72 char *header_name, *header_content; in php_phttpd_sapi_header_handler() local
78 header_content = p = strchr(header_name, ':'); in php_phttpd_sapi_header_handler()
83 header_content++; in php_phttpd_sapi_header_handler()
84 } while (*header_content == ' '); in php_phttpd_sapi_header_handler()
86 fd_printf(PHG(cip)->fd,"%s: %s\n", header_name, header_content); in php_phttpd_sapi_header_handler()
/PHP-5.5/sapi/aolserver/
H A Daolserver.c116 char *header_name, *header_content; in php_ns_sapi_header_handler() local
120 header_content = p = strchr(header_name, ':'); in php_ns_sapi_header_handler()
125 header_content++; in php_ns_sapi_header_handler()
126 } while (*header_content == ' '); in php_ns_sapi_header_handler()
129 Ns_ConnSetTypeHeader(NSG(conn), header_content); in php_ns_sapi_header_handler()
131 Ns_ConnSetHeaders(NSG(conn), header_name, header_content); in php_ns_sapi_header_handler()
/PHP-5.5/sapi/continuity/
H A Dcapi.c148 char *header_name, *header_content, *p; in sapi_capi_header_handler() local
154 header_content = p = strchr(header_name, ':'); in sapi_capi_header_handler()
160 header_content++; in sapi_capi_header_handler()
161 } while (*header_content == ' '); in sapi_capi_header_handler()
163 lstFset_add(rc->t->res_hdrs, header_name, header_content); in sapi_capi_header_handler()
/PHP-5.5/sapi/apache/
H A Dmod_php5.c168 char *header_name, *header_content, *p; in sapi_apache_header_handler() local
187 header_content = p = strchr(header_name, ':'); in sapi_apache_header_handler()
194 header_content++; in sapi_apache_header_handler()
195 } while (*header_content==' '); in sapi_apache_header_handler()
198 r->content_type = pstrdup(r->pool, header_content); in sapi_apache_header_handler()
200 ap_set_content_length(r, strtol(header_content, (char **)NULL, 10)); in sapi_apache_header_handler()
202 table_add(r->headers_out, header_name, header_content); in sapi_apache_header_handler()
204 table_set(r->headers_out, header_name, header_content); in sapi_apache_header_handler()
206 table_add(r->headers_out, header_name, header_content); in sapi_apache_header_handler()
/PHP-5.5/sapi/roxen/
H A Droxen.c329 char *header_name, *header_content, *p; in php_roxen_sapi_header_handler() local
331 header_content = p = strchr(header_name, ':'); in php_roxen_sapi_header_handler()
335 header_content++; in php_roxen_sapi_header_handler()
336 } while(*header_content == ' '); in php_roxen_sapi_header_handler()
337 THREAD_SAFE_RUN(php_roxen_set_header(header_name, header_content, p), "header handler"); in php_roxen_sapi_header_handler()
/PHP-5.5/sapi/nsapi/
H A Dnsapi.c520 char *header_name, *header_content, *p; in sapi_nsapi_header_handler() local
540 header_content = strchr(header_name, ':'); in sapi_nsapi_header_handler()
541 if (header_content) { in sapi_nsapi_header_handler()
542 *header_content = 0; in sapi_nsapi_header_handler()
544 header_content++; in sapi_nsapi_header_handler()
545 } while (*header_content==' '); in sapi_nsapi_header_handler()
557 pblock_nvinsert(header_name, header_content, rc->rq->srvhdrs); in sapi_nsapi_header_handler()
/PHP-5.5/sapi/caudium/
H A Dcaudium.c340 char *header_name, *header_content, *p; in php_caudium_sapi_header_handler() local
342 header_content = p = strchr(header_name, ':'); in php_caudium_sapi_header_handler()
346 header_content++; in php_caudium_sapi_header_handler()
347 } while(*header_content == ' '); in php_caudium_sapi_header_handler()
348 THREAD_SAFE_RUN(php_caudium_set_header(header_name, header_content, p), "header handler"); in php_caudium_sapi_header_handler()
/PHP-5.5/sapi/apache_hooks/
H A Dmod_php5.c313 char *header_name, *header_content, *p; in sapi_apache_header_handler() local
332 header_content = p = strchr(header_name, ':'); in sapi_apache_header_handler()
339 header_content++; in sapi_apache_header_handler()
340 } while (*header_content==' '); in sapi_apache_header_handler()
343 r->content_type = pstrdup(r->pool, header_content); in sapi_apache_header_handler()
345 table_add(r->headers_out, header_name, header_content); in sapi_apache_header_handler()
347 table_set(r->headers_out, header_name, header_content); in sapi_apache_header_handler()
349 table_add(r->headers_out, header_name, header_content); in sapi_apache_header_handler()

Completed in 33 milliseconds