Searched refs:header_name (Results 1 - 11 of 11) sorted by relevance

/PHP_TRUNK/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_TRUNK/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_TRUNK/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_TRUNK/sapi/apache/
H A Dmod_php7.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_TRUNK/sapi/apache_hooks/
H A Dmod_php7.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_TRUNK/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_TRUNK/sapi/nsapi/
H A Dnsapi.c494 char *header_name, *p; local
498 header_name = pool_strdup(rc->sn->pool, sapi_header->header);
501 if (p = strchr(header_name, ':')) {
505 /* header_name to lower case because NSAPI reformats the headers and wants lowercase */
506 for (p=header_name; *p; p++) {
511 param_free(pblock_remove(header_name, rc->rq->srvhdrs));
512 pool_free(rc->sn->pool, header_name);
519 char *header_name, *header_content, *p; local
536 header_name = pool_strdup(rc->sn->pool, sapi_header->header);
539 header_content = strchr(header_name, '
[all...]
/PHP_TRUNK/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_TRUNK/ext/iconv/
H A Diconv.c2349 char *header_name = NULL; local
2369 header_name = decoded_header.s->val;
2385 if (header_name != NULL) {
2388 if ((elem = zend_hash_str_find(Z_ARRVAL_P(return_value), header_name, header_name_len)) != NULL) {
2396 elem = zend_hash_str_update(Z_ARRVAL_P(return_value), header_name, header_name_len, &new_elem);
2400 add_assoc_stringl_ex(return_value, header_name, header_name_len, header_value, header_value_len);
/PHP_TRUNK/win32/build/
H A Dconfutils.js794 // AC_DEFINE("HAVE_" + header_name.toUpperCase().replace(new RegExp("/\\\\-\.", "g"), "_"), have);
800 function CHECK_FUNC_IN_HEADER(header_name, func_name, path_to_check, add_to_flag)
805 STDOUT.Write("Checking for " + func_name + " in " + header_name + " ... ");
807 c = GREP_HEADER(header_name, func_name, path_to_check);
826 function GREP_HEADER(header_name, regex, path_to_check)
830 if (FSO.FileExists(path_to_check + "\\" + header_name)) {
831 c = file_get_contents(path_to_check + "\\" + header_name);
837 var p = search_paths(header_name, path_to_check, "INCLUDE");
841 p = search_paths(header_name, PHP_EXTRA_INCLUDES, null);
862 function CHECK_HEADER_ADD_INCLUDE(header_name, flag_nam
[all...]
/PHP_TRUNK/sapi/cli/
H A Dphp_cli_server.c1744 char *header_name = safe_pemalloc(client->current_header_name_len, 1, 1, 1); local
1745 if (!header_name) {
1748 memmove(header_name, client->current_header_name, client->current_header_name_len);
1749 client->current_header_name = header_name;

Completed in 23 milliseconds