/PHP-5.5/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.5/sapi/phttpd/ |
H A D | phttpd.c | 215 SG(request_info).content_type = index == -1 ? NULL : in php_phttpd_request_ctor()
|
/PHP-5.5/sapi/pi3web/ |
H A D | pi3web_sapi.c | 273 SG(request_info).content_type = lpCB->lpszContentType; in init_request_info()
|
/PHP-5.5/sapi/roxen/ |
H A D | roxen.c | 648 SG(request_info).content_type = lookup_string_header("HTTP_CONTENT_TYPE", NULL); in f_php_roxen_request_handler()
|
/PHP-5.5/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.5/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.5/sapi/webjames/ |
H A D | webjames.c | 186 SG(request_info).content_type = WG(conn)->type; in webjames_module_main()
|
/PHP-5.5/sapi/isapi/ |
H A D | php5isapi.c | 746 SG(request_info).content_type = lpECB->lpszContentType; in init_request_info()
|
/PHP-5.5/sapi/litespeed/ |
H A D | lsapi_main.c | 497 SG(request_info).content_type = pContentType ? pContentType : ""; in init_request_info()
|
/PHP-5.5/sapi/fpm/fpm/ |
H A D | fpm_main.c | 1072 SG(request_info).content_type = NULL; 1083 char *content_type = sapi_cgibin_getenv("CONTENT_TYPE", sizeof("CONTENT_TYPE") - 1 TSRMLS_CC); local 1394 SG(request_info).content_type = (content_type ? content_type : "" );
|
/PHP-5.5/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.5/sapi/cli/ |
H A D | php_cli_server.c | 1860 request_info->content_type = *val; in php_cli_server_client_populate_request_info()
|
/PHP-5.5/sapi/apache_hooks/ |
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 | 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 | README | 82 content_type
|
/PHP-5.5/sapi/caudium/ |
H A D | caudium.c | 621 SG(request_info).content_type = lookup_string_header("HTTP_CONTENT_TYPE", NULL); in php_caudium_module_main()
|
/PHP-5.5/sapi/cgi/ |
H A D | cgi_main.c | 1157 SG(request_info).content_type = NULL; 1168 char *content_type = CGI_GETENV("CONTENT_TYPE"); local 1423 SG(request_info).content_type = (content_type ? content_type : "" );
|
/PHP-5.5/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.5/sapi/apache2filter/ |
H A D | php_functions.c | 127 ADD_STRING(content_type); in PHP_FUNCTION()
|
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()
|
/PHP-5.5/sapi/apache2handler/ |
H A D | php_apache.h | 48 char *content_type; member
|
H A D | php_functions.c | 147 ADD_STRING(content_type); in PHP_FUNCTION()
|
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()
|
/PHP-5.5/sapi/aolserver/ |
H A D | aolserver.c | 457 SG(request_info).content_type = index == -1 ? NULL : in php_ns_request_ctor()
|