Searched refs:mime_type (Results 1 – 7 of 7) sorted by relevance
/PHP-8.1/ext/curl/ |
H A D | curl_file.stub.php | 12 …public function __construct(string $filename, ?string $mime_type = null, ?string $posted_filename … argument 24 public function setMimeType(string $mime_type): void {} argument
|
H A D | curl_file_arginfo.h | 6 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mime_type, IS_STRING, 1, "null") 18 ZEND_ARG_TYPE_INFO(0, mime_type, IS_STRING, 0)
|
H A D | curl.stub.php | 50 function curl_file_create(string $filename, ?string $mime_type = null, ?string $posted_filename = n… argument
|
H A D | curl_arginfo.h | 39 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mime_type, IS_STRING, 1, "null")
|
/PHP-8.1/sapi/cli/ |
H A D | mime_type_map.h | 25 const char *mime_type; member
|
H A D | php_cli_server.c | 2099 const char *mime_type = get_mime_type(server, client->request.ext, client->request.ext_len); in php_cli_server_begin_send_static() local 2108 if (mime_type) { in php_cli_server_begin_send_static() 2110 smart_str_appends_ex(&buffer, mime_type, 1); in php_cli_server_begin_send_static() 2111 if (strncmp(mime_type, "text/", 5) == 0) { in php_cli_server_begin_send_static() 2268 zend_hash_str_add_ptr(&server->extension_mime_types, pair->ext, ext_len, (void*)pair->mime_type); in php_cli_server_mime_type_ctor()
|
/PHP-8.1/ext/phar/ |
H A D | phar_object.c | 29 static int phar_file_type(HashTable *mimes, char *file, char **mime_type) /* {{{ */ in phar_file_type() argument 35 *mime_type = "text/plain"; in phar_file_type() 41 *mime_type = "application/octet-stream"; in phar_file_type() 44 *mime_type = mime->mime; in phar_file_type() 171 ctr.line_len = spprintf((char **) &(ctr.line), 0, "Content-type: %s", mime_type); in phar_file_action() 545 char *fname, *path_info, *mime_type = NULL, *entry, *pt; in PHP_METHOD() local 809 mime_type = ""; in PHP_METHOD() 825 mime_type = Z_STRVAL_P(val); in PHP_METHOD() 844 if (!mime_type) { in PHP_METHOD() 845 code = phar_file_type(&PHAR_G(mime_types), entry, &mime_type); in PHP_METHOD() [all …]
|
Completed in 54 milliseconds