[nginx] MIME: changed type for deb files, added udeb files.

Maxim Dounin mdounin at mdounin.ru
Thu Mar 28 02:20:24 UTC 2024


details:   http://freenginx.org/hg/nginx/rev/9a0849fd4b46
branches:  
changeset: 9232:9a0849fd4b46
user:      Yuriy Izorkin <lafiel at elven.pw>
date:      Tue Mar 26 21:30:08 2024 +0300
description:
MIME: changed type for deb files, added udeb files.

Changed type for .deb files to application/vnd.debian.binary-package
in accordance with man pages [1] and IANA [2].  Also added .udeb extension.

This type is also used on update servers.

Link for reference:

[1] https://manpages.debian.org/bookworm/dpkg-dev/deb.5.en.html
[2] https://www.iana.org/assignments/media-types/application/vnd.debian.binary-package

diffstat:

 conf/mime.types |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (19 lines):

diff --git a/conf/mime.types b/conf/mime.types
--- a/conf/mime.types
+++ b/conf/mime.types
@@ -36,6 +36,7 @@ types {
     application/postscript                           ps eps ai;
     application/rtf                                  rtf;
     application/vnd.apple.mpegurl                    m3u8;
+    application/vnd.debian.binary-package            deb udeb;
     application/vnd.google-earth.kml+xml             kml;
     application/vnd.google-earth.kmz                 kmz;
     application/vnd.ms-excel                         xls;
@@ -73,7 +74,6 @@ types {
     application/zip                                  zip;
 
     application/octet-stream                         bin exe dll;
-    application/octet-stream                         deb;
     application/octet-stream                         dmg;
     application/octet-stream                         iso img;
     application/octet-stream                         msi msp msm;



More information about the nginx-devel mailing list