/PHP-5.4/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.4/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.4/sapi/apache2filter/ |
H A D | sapi_apache2.c | 129 ctx->r->content_type = apr_pstrdup(ctx->r->pool, val); in php_apache_sapi_header_handler() 399 char *content_type; in php_apache_request_ctor() local 405 SG(request_info).content_type = apr_table_get(f->r->headers_in, "Content-Type"); in php_apache_request_ctor() 414 content_type = sapi_get_default_content_type(TSRMLS_C); in php_apache_request_ctor() 415 f->r->content_type = apr_pstrdup(f->r->pool, content_type); in php_apache_request_ctor() 419 efree(content_type); in php_apache_request_ctor() 668 if (r->content_type && !strncmp(r->content_type, "application/x-httpd-php", content_type_len-1)) { in php_insert_filter() 669 …if (r->content_type[content_type_len] == '\0' || !strncmp(r->content_type+content_type_len, "-sour… in php_insert_filter()
|
H A D | php_functions.c | 127 ADD_STRING(content_type); in PHP_FUNCTION()
|
/PHP-5.4/sapi/apache2handler/ |
H A D | sapi_apache2.c | 124 if (ctx->content_type) { in php_apache_sapi_header_handler() 125 efree(ctx->content_type); in php_apache_sapi_header_handler() 127 ctx->content_type = estrdup(val); in php_apache_sapi_header_handler() 173 if (!ctx->content_type) { in php_apache_sapi_send_headers() 174 ctx->content_type = sapi_get_default_content_type(TSRMLS_C); in php_apache_sapi_send_headers() 176 ap_set_content_type(ctx->r, apr_pstrdup(ctx->r->pool, ctx->content_type)); in php_apache_sapi_send_headers() 177 efree(ctx->content_type); in php_apache_sapi_send_headers() 178 ctx->content_type = NULL; in php_apache_sapi_send_headers() 477 SG(request_info).content_type = apr_table_get(r->headers_in, "Content-Type"); in php_apache_request_ctor()
|
H A D | php_apache.h | 48 char *content_type; member
|
/PHP-5.4/sapi/continuity/ |
H A D | capi.c | 418 char *content_type = lstFset_get(NSG(t->req_hdrs), "content-type"); in capi_request_ctor() local 425 SG(request_info).content_type = capi_strdup(content_type); in capi_request_ctor() 436 capi_free(SG(request_info).content_type); in capi_request_dtor()
|
/PHP-5.4/sapi/tux/ |
H A D | php_tux.c | 240 CONDADD(CONTENT_TYPE, content_type); in sapi_tux_register_variables() 343 SG(request_info).content_type = TG(req)->content_type; in tux_request_ctor()
|
/PHP-5.4/ext/soap/ |
H A D | php_http.c | 289 char *http_headers, *http_body, *content_type, *http_version, *cookie_itt; in make_http_soap_request() local 1155 content_type = get_http_header_value(http_headers,"Content-Type: "); in make_http_soap_request() 1156 if (content_type) { in make_http_soap_request() 1159 pos = strstr(content_type,";"); in make_http_soap_request() 1161 cmplen = pos - content_type; in make_http_soap_request() 1163 cmplen = strlen(content_type); in make_http_soap_request() 1165 if (strncmp(content_type, "text/xml", cmplen) == 0 || in make_http_soap_request() 1166 strncmp(content_type, "application/soap+xml", cmplen) == 0) { in make_http_soap_request() 1181 efree(content_type); in make_http_soap_request()
|
/PHP-5.4/sapi/apache/ |
H A D | mod_php5.c | 198 r->content_type = pstrdup(r->pool, header_content); in sapi_apache_header_handler() 531 SG(request_info).content_type = (char *) table_get(r->subprocess_env, "CONTENT_TYPE"); in init_request_info() 632 r->content_type = php_apache_get_default_mimetype(r TSRMLS_CC); in send_php() 668 r->content_type = php_apache_get_default_mimetype(r TSRMLS_CC); in send_php()
|
H A D | php_apache.c | 486 if (rr->content_type) { in PHP_FUNCTION() 487 add_property_string(return_value,"content_type", (char *)rr->content_type, 1); in PHP_FUNCTION()
|
/PHP-5.4/sapi/thttpd/ |
H A D | thttpd.c | 459 SG(request_info).content_type = strdup(TG(hc)->contenttype); 475 if (SG(request_info).content_type) 476 free(SG(request_info).content_type);
|
/PHP-5.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-5.4/sapi/phttpd/ |
H A D | phttpd.c | 215 SG(request_info).content_type = index == -1 ? NULL : in php_phttpd_request_ctor()
|
/PHP-5.4/sapi/fpm/fpm/ |
H A D | fpm_main.c | 1068 SG(request_info).content_type = NULL; 1079 char *content_type = sapi_cgibin_getenv("CONTENT_TYPE", sizeof("CONTENT_TYPE") - 1 TSRMLS_CC); local 1379 SG(request_info).content_type = (content_type ? content_type : "" );
|
/PHP-5.4/sapi/nsapi/ |
H A D | nsapi.c | 970 char *content_type = pblock_findval("content-type", rq->headers); in php5_execute() local 1027 SG(request_info).content_type = content_type; in php5_execute()
|
/PHP-5.4/sapi/apache_hooks/ |
H A D | php_apache.c | 346 apache_request_string_slot(offsetof(request_rec, content_type), INTERNAL_FUNCTION_PARAM_PASSTHRU); in PHP_FUNCTION() 974 r->content_type = pstrdup(r->pool, type); in PHP_FUNCTION() 1298 PHP_FALIAS(content_type, apache_request_content_type, NULL) 1861 if (rr->content_type) { in PHP_FUNCTION() 1862 add_property_string(return_value,"content_type", (char *)rr->content_type, 1); in PHP_FUNCTION()
|
H A D | mod_php5.c | 343 r->content_type = pstrdup(r->pool, header_content); in sapi_apache_header_handler() 584 SG(request_info).content_type = (char *) table_get(r->subprocess_env, "CONTENT_TYPE"); in init_request_info() 679 r->content_type = php_apache_get_default_mimetype(r TSRMLS_CC); in send_php() 716 r->content_type = php_apache_get_default_mimetype(r TSRMLS_CC); in send_php()
|
H A D | README | 82 content_type
|
/PHP-5.4/sapi/webjames/ |
H A D | webjames.c | 186 SG(request_info).content_type = WG(conn)->type; in webjames_module_main()
|
/PHP-5.4/sapi/cgi/ |
H A D | cgi_main.c | 1155 SG(request_info).content_type = NULL; 1166 char *content_type = CGI_GETENV("CONTENT_TYPE"); local 1421 SG(request_info).content_type = (content_type ? content_type : "" );
|
/PHP-5.4/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.4/sapi/pi3web/ |
H A D | pi3web_sapi.c | 273 SG(request_info).content_type = lpCB->lpszContentType; in init_request_info()
|