Searched refs:content_type (Results 26 – 33 of 33) sorted by last modified time
12
/PHP-5.5/main/ |
H A D | SAPI.c | 203 char *content_type = estrndup(SG(request_info).content_type, content_type_length); in sapi_read_post_data() local 213 for (p=content_type; p<content_type+content_type_length; p++) { in sapi_read_post_data() 218 content_type_length = p-content_type; in sapi_read_post_data() 248 SG(request_info).content_type_dup = content_type; in sapi_read_post_data() 297 char *mimetype, *charset, *content_type; in get_default_content_type() local 319 content_type = (char*)emalloc(*len + 1); in get_default_content_type() 320 p = content_type + prefix_len; in get_default_content_type() 328 content_type = (char*)emalloc(*len + 1); in get_default_content_type() 331 return content_type; in get_default_content_type() 931 while (p->content_type) { in sapi_register_post_entries() [all …]
|
H A D | SAPI.h | 90 const char *content_type; member 277 char *content_type; member
|
/PHP-5.5/ext/standard/tests/file/ |
H A D | file.inc | 192 string $content_type = "numeric", 212 $content_type = Specify type of the content to fill in the file. 235 $content_type = "numeric", 279 if ( $content_type == "empty" ) { 293 if( fill_file($file_handle, $content_type, $file_size) )
|
/PHP-5.5/ext/soap/ |
H A D | php_http.c | 351 char *http_headers, *http_body, *content_type, *http_version, *cookie_itt; in make_http_soap_request() local 1217 content_type = get_http_header_value(http_headers,"Content-Type: "); in make_http_soap_request() 1218 if (content_type) { in make_http_soap_request() 1221 pos = strstr(content_type,";"); in make_http_soap_request() 1223 cmplen = pos - content_type; in make_http_soap_request() 1225 cmplen = strlen(content_type); in make_http_soap_request() 1227 if (strncmp(content_type, "text/xml", cmplen) == 0 || in make_http_soap_request() 1228 strncmp(content_type, "application/soap+xml", cmplen) == 0) { in make_http_soap_request() 1243 efree(content_type); in make_http_soap_request()
|
/PHP-5.5/ext/iconv/ |
H A D | iconv.c | 334 char *s, *content_type, *mimetype = NULL; in php_iconv_output_handler() local 360 …len = spprintf(&content_type, 0, "Content-Type:%.*s; charset=%.*s", mimetype_len ? mimetype_len : … in php_iconv_output_handler() 362 …len = spprintf(&content_type, 0, "Content-Type:%.*s; charset=%s", mimetype_len ? mimetype_len : (i… in php_iconv_output_handler() 364 if (content_type && SUCCESS == sapi_add_header(content_type, len, 0)) { in php_iconv_output_handler()
|
/PHP-5.5/ext/curl/tests/ |
H A D | bug46739.phpt | 2 Bug #46739 (array returned by curl_getinfo should contain content_type key) 16 echo (array_key_exists('content_type', $info)) ? "set" : "not set";
|
H A D | curl_basic_016.phpt | 24 ["content_type"]=>
|
/PHP-5.5/ |
H A D | NEWS | 6566 content_type key). (Mikko)
|
Completed in 76 milliseconds
12