We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2b8a72 commit dfa43d5Copy full SHA for dfa43d5
NEWS
@@ -5,6 +5,7 @@ PHP NEWS
5
- CLI server:
6
. Fixed bug #65633 (built-in server treat some http headers as
7
case-sensitive). (Adam)
8
+ . Added application/pdf to PHP CLI Web Server mime types (Chris Jones)
9
10
- Datetime:
11
. Fixed bug #65502 (DateTimeImmutable::createFromFormat returns DateTime).
sapi/cli/php_cli_server.c
@@ -268,6 +268,7 @@ static php_cli_server_ext_mime_type_pair mime_type_map[] = {
268
{ "jpg", "image/jpeg" },
269
{ "jpeg", "image/jpeg" },
270
{ "jpe", "image/jpeg" },
271
+ { "pdf", "application/pdf" },
272
{ "png", "image/png" },
273
{ "svg", "image/svg+xml" },
274
{ "txt", "text/plain" },
0 commit comments