Searched defs:header_name (Results 1 - 10 of 10) sorted by relevance

/PHP_5_5/ext/iconv/
H A Diconv.c2307 char *header_name = NULL; local
2327 header_name = decoded_header.c;
2343 if (header_name != NULL) {
2346 if (zend_hash_find(Z_ARRVAL_P(return_value), header_name, header_name_len, (void **)&elem) == SUCCESS) {
2354 zend_hash_update(Z_ARRVAL_P(return_value), header_name, header_name_len, (void *)&new_elem, sizeof(new_elem), NULL); local
2360 add_assoc_stringl_ex(return_value, header_name, header_name_len, header_value, header_value_len, 1);
/PHP_5_5/sapi/aolserver/
H A Daolserver.c116 char *header_name, *header_content; local
119 header_name = sapi_header->header;
120 header_content = p = strchr(header_name, ':');
128 if (!strcasecmp(header_name, "Content-type")) {
131 Ns_ConnSetHeaders(NSG(conn), header_name, header_content); local
/PHP_5_5/sapi/apache/
H A Dmod_php5.c168 char *header_name, *header_content, *p; local
185 header_name = sapi_header->header;
187 header_content = p = strchr(header_name, ':');
197 if (!strcasecmp(header_name, "Content-Type")) {
199 } else if (!strcasecmp(header_name, "Content-Length")) {
201 } else if (!strcasecmp(header_name, "Set-Cookie")) {
202 table_add(r->headers_out, header_name, header_content);
204 table_set(r->headers_out, header_name, header_content);
206 table_add(r->headers_out, header_name, header_content);
/PHP_5_5/sapi/apache_hooks/
H A Dmod_php5.c313 char *header_name, *header_content, *p; local
330 header_name = sapi_header->header;
332 header_content = p = strchr(header_name, ':');
342 if (!strcasecmp(header_name, "Content-Type")) {
344 } else if (!strcasecmp(header_name, "Set-Cookie")) {
345 table_add(r->headers_out, header_name, header_content);
347 table_set(r->headers_out, header_name, header_content);
349 table_add(r->headers_out, header_name, header_content);
/PHP_5_5/sapi/caudium/
H A Dcaudium.c282 php_caudium_set_header(char *header_name, char *value, char *p) argument
292 hind = make_shared_binary_string(header_name,
293 (int)(p - header_name));
340 char *header_name, *header_content, *p; local
341 header_name = sapi_header->header;
342 header_content = p = strchr(header_name, ':');
348 THREAD_SAFE_RUN(php_caudium_set_header(header_name, header_content, p), "header handler");
/PHP_5_5/sapi/continuity/
H A Dcapi.c148 char *header_name, *header_content, *p; local
153 header_name = sapi_header->header;
154 header_content = p = strchr(header_name, ':');
163 lstFset_add(rc->t->res_hdrs, header_name, header_content);
/PHP_5_5/sapi/nsapi/
H A Dnsapi.c495 char *header_name, *p; local
499 header_name = pool_strdup(rc->sn->pool, sapi_header->header);
502 if (p = strchr(header_name, ':')) {
506 /* header_name to lower case because NSAPI reformats the headers and wants lowercase */
507 for (p=header_name; *p; p++) {
512 param_free(pblock_remove(header_name, rc->rq->srvhdrs));
513 pool_free(rc->sn->pool, header_name);
520 char *header_name, *header_content, *p; local
537 header_name = pool_strdup(rc->sn->pool, sapi_header->header);
540 header_content = strchr(header_name, '
[all...]
/PHP_5_5/sapi/phttpd/
H A Dphttpd.c72 char *header_name, *header_content; local
77 header_name = sapi_header->header;
78 header_content = p = strchr(header_name, ':');
86 fd_printf(PHG(cip)->fd,"%s: %s\n", header_name, header_content);
/PHP_5_5/sapi/roxen/
H A Droxen.c286 static void php_roxen_set_header(char *header_name, char *value, char *p) argument
297 hind = make_shared_binary_string(header_name,
298 (int)(p - header_name));
329 char *header_name, *header_content, *p; local
330 header_name = sapi_header->header;
331 header_content = p = strchr(header_name, ':');
337 THREAD_SAFE_RUN(php_roxen_set_header(header_name, header_content, p), "header handler");
/PHP_5_5/sapi/cli/
H A Dphp_cli_server.c1798 char *header_name = safe_pemalloc(client->current_header_name_len, 1, 1, 1); local
1799 if (!header_name) {
1802 memmove(header_name, client->current_header_name, client->current_header_name_len);
1803 client->current_header_name = header_name;

Completed in 35 milliseconds