Skip to content

Commit d135e08

Browse files
committed
Merge branch 'master' of https://git.php.net/repository/php-src
* 'master' of https://git.php.net/repository/php-src: Added application/pdf to PHP CLI Web Server mime types.
2 parents b0a5e76 + dcafcd0 commit d135e08

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sapi/cli/php_cli_server.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,7 @@ static php_cli_server_ext_mime_type_pair mime_type_map[] = {
268268
{ "jpg", "image/jpeg" },
269269
{ "jpeg", "image/jpeg" },
270270
{ "jpe", "image/jpeg" },
271+
{ "pdf", "application/pdf" },
271272
{ "png", "image/png" },
272273
{ "svg", "image/svg+xml" },
273274
{ "txt", "text/plain" },

0 commit comments

Comments
 (0)