Skip to content

Commit dcafcd0

Browse files
committed
Merge branch 'PHP-5.5'
* PHP-5.5: Added application/pdf to PHP CLI Web Server mime types.
2 parents d879d3d + dfa43d5 commit dcafcd0

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)