Mercurial > hg > nginx
comparison conf/mime.types @ 9229:28fbf78841dc
MIME: changed type for bmp to image/bmp.
At least Chrome, Safari, and Edge do no show image/x-ms-bmp when requested
directly (and instead show a download dialog), but do so for IANA-registered
MIME type image/bmp. Mozilla considers doing the same
(https://bugzilla.mozilla.org/show_bug.cgi?id=1422725).
Further, Apache uses image/bmp since the bmp extension was added to mime.types
in Apache 1.3.6 (and also used it at least since 1.3.0 in magic-based type
detection).
The bmp extensions with the image/x-ms-bmp type was added in 863:57cb2052dcc6
(nginx 0.4.14), as a part of a large mime.types change, and it is not clear
why image/x-ms-bmp was used instead of image/bmp.
As such, changed MIME type for bmp files to image/bmp.
Requested by Yuriy Izorkin.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 21 Mar 2024 22:50:11 +0300 |
parents | 3f0ab7b6cd71 |
children | e8b200816108 |
comparison
equal
deleted
inserted
replaced
9228:c363ad6b3b23 | 9229:28fbf78841dc |
---|---|
14 text/vnd.sun.j2me.app-descriptor jad; | 14 text/vnd.sun.j2me.app-descriptor jad; |
15 text/vnd.wap.wml wml; | 15 text/vnd.wap.wml wml; |
16 text/x-component htc; | 16 text/x-component htc; |
17 | 17 |
18 image/avif avif; | 18 image/avif avif; |
19 image/bmp bmp; | |
19 image/png png; | 20 image/png png; |
20 image/svg+xml svg svgz; | 21 image/svg+xml svg svgz; |
21 image/tiff tif tiff; | 22 image/tiff tif tiff; |
22 image/vnd.wap.wbmp wbmp; | 23 image/vnd.wap.wbmp wbmp; |
23 image/webp webp; | 24 image/webp webp; |
24 image/x-icon ico; | 25 image/x-icon ico; |
25 image/x-jng jng; | 26 image/x-jng jng; |
26 image/x-ms-bmp bmp; | |
27 | 27 |
28 font/woff woff; | 28 font/woff woff; |
29 font/woff2 woff2; | 29 font/woff2 woff2; |
30 | 30 |
31 application/java-archive jar war ear; | 31 application/java-archive jar war ear; |