Searched refs:content_type (Results 1 – 15 of 15) sorted by relevance
/PHP-7.4/ext/curl/tests/ |
H A D | bug46739.phpt | 2 Bug #46739 (array returned by curl_getinfo should contain content_type key) 17 echo (array_key_exists('content_type', $info)) ? "set" : "not set";
|
H A D | curl_basic_016.phpt | 24 ["content_type"]=>
|
/PHP-7.4/main/ |
H A D | SAPI.c | 178 char *content_type = estrndup(SG(request_info).content_type, content_type_length); in sapi_read_post_data() local 188 for (p=content_type; p<content_type+content_type_length; p++) { in sapi_read_post_data() 193 content_type_length = p-content_type; in sapi_read_post_data() 223 SG(request_info).content_type_dup = content_type; in sapi_read_post_data() 301 char *mimetype, *charset, *content_type; in get_default_content_type() local 323 content_type = (char*)emalloc(*len + 1); in get_default_content_type() 324 p = content_type + prefix_len; in get_default_content_type() 332 content_type = (char*)emalloc(*len + 1); in get_default_content_type() 335 return content_type; in get_default_content_type() 464 && SG(request_info).content_type in sapi_activate() [all …]
|
H A D | SAPI.h | 89 const char *content_type; member 274 char *content_type; member
|
/PHP-7.4/sapi/apache2handler/ |
H A D | sapi_apache2.c | 115 if (ctx->content_type) { in php_apache_sapi_header_handler() 116 efree(ctx->content_type); in php_apache_sapi_header_handler() 118 ctx->content_type = estrdup(val); in php_apache_sapi_header_handler() 164 if (!ctx->content_type) { in php_apache_sapi_send_headers() 165 ctx->content_type = sapi_get_default_content_type(); in php_apache_sapi_send_headers() 167 ap_set_content_type(ctx->r, apr_pstrdup(ctx->r->pool, ctx->content_type)); in php_apache_sapi_send_headers() 168 efree(ctx->content_type); in php_apache_sapi_send_headers() 169 ctx->content_type = NULL; in php_apache_sapi_send_headers() 508 SG(request_info).content_type = apr_table_get(r->headers_in, "Content-Type"); in php_apache_request_ctor()
|
H A D | php_apache.h | 51 char *content_type; member
|
H A D | php_functions.c | 145 ADD_STRING(content_type); in PHP_FUNCTION()
|
/PHP-7.4/ext/soap/tests/ |
H A D | custom_content_type.phpt | 36 'content_type' => sprintf("Multipart/Related") 62 'content_type' => sprintf("")
|
/PHP-7.4/ext/soap/ |
H A D | php_http.c | 353 char *content_type, *http_version, *cookie_itt; in make_http_soap_request() local 1241 content_type = get_http_header_value(ZSTR_VAL(http_headers), "Content-Type: "); in make_http_soap_request() 1242 if (content_type) { in make_http_soap_request() 1245 pos = strstr(content_type,";"); in make_http_soap_request() 1247 cmplen = pos - content_type; in make_http_soap_request() 1249 cmplen = strlen(content_type); in make_http_soap_request() 1251 if (strncmp(content_type, "text/xml", cmplen) == 0 || in make_http_soap_request() 1252 strncmp(content_type, "application/soap+xml", cmplen) == 0) { in make_http_soap_request() 1267 efree(content_type); in make_http_soap_request()
|
/PHP-7.4/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-7.4/sapi/fpm/fpm/ |
H A D | fpm_main.c | 981 SG(request_info).content_type = NULL; in init_request_info() 990 char *content_type = FCGI_GETENV(request, "CONTENT_TYPE"); in init_request_info() local 1318 SG(request_info).content_type = (content_type ? content_type : "" ); in init_request_info()
|
/PHP-7.4/sapi/cgi/ |
H A D | cgi_main.c | 1193 SG(request_info).content_type = NULL; 1204 char *content_type = CGI_GETENV("CONTENT_TYPE"); local 1458 SG(request_info).content_type = (content_type ? content_type : "" );
|
/PHP-7.4/ext/iconv/ |
H A D | iconv.c | 381 char *s, *content_type, *mimetype = NULL; in php_iconv_output_handler() local 406 …len = spprintf(&content_type, 0, "Content-Type:%.*s; charset=%.*s", mimetype_len ? mimetype_len : … in php_iconv_output_handler() 408 …len = spprintf(&content_type, 0, "Content-Type:%.*s; charset=%s", mimetype_len ? mimetype_len : (i… in php_iconv_output_handler() 410 if (content_type && SUCCESS == sapi_add_header(content_type, len, 0)) { in php_iconv_output_handler()
|
/PHP-7.4/sapi/litespeed/ |
H A D | lsapi_main.c | 643 SG(request_info).content_type = pContentType ? pContentType : ""; in init_request_info()
|
/PHP-7.4/sapi/cli/ |
H A D | php_cli_server.c | 1936 request_info->content_type = val; in php_cli_server_client_populate_request_info()
|
Completed in 69 milliseconds