[nginx] MIME: changed type for rar files to application/vnd.rar.

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


details:   http://freenginx.org/hg/nginx/rev/e8b200816108
branches:  
changeset: 9231:e8b200816108
user:      Yuriy Izorkin <lafiel at elven.pw>
date:      Tue Mar 26 19:39:48 2024 +0300
description:
MIME: changed type for rar files to application/vnd.rar.

The application/x-rar-compressed type is deprecated and is now
replaced by application/vnd.rar [1].

Link for reference:

[1] https://www.iana.org/assignments/media-types/application/vnd.rar

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
@@ -51,6 +51,7 @@ types {
                                                      xlsx;
     application/vnd.openxmlformats-officedocument.wordprocessingml.document
                                                      docx;
+    application/vnd.rar                              rar;
     application/vnd.wap.wmlc                         wmlc;
     application/wasm                                 wasm;
     application/x-7z-compressed                      7z;
@@ -60,7 +61,6 @@ types {
     application/x-makeself                           run;
     application/x-perl                               pl pm;
     application/x-pilot                              prc pdb;
-    application/x-rar-compressed                     rar;
     application/x-redhat-package-manager             rpm;
     application/x-sea                                sea;
     application/x-shockwave-flash                    swf;



More information about the nginx-devel mailing list