[PATCH] MIME: added application/json MIME type.
Piotr Sikora
piotr at cloudflare.com
Wed Sep 18 20:07:20 UTC 2013
Hi Maxim,
> I'm not sure we need this at all (but likely we do), but at least
> this seems to be a wrong section of the file.
It's probably more of a "nice to have" than "needed", but this
MIME type is already being used by the image filter and JSON
is definitely more popular than some of the other MIME types
in that file, so I don't see a reason why it shouldn't be there.
Definition moved to (hopefully) correct section of the file.
Best regards,
Piotr Sikora
# HG changeset patch
# User Piotr Sikora <piotr at cloudflare.com>
# Date 1379534387 25200
# Wed Sep 18 12:59:47 2013 -0700
# Node ID 1adfe7a260ebe6fa3519b5229847c53470321990
# Parent e8d24b6d7f7304df77ccde7fc8223434c91b5322
MIME: added application/json MIME type.
Signed-off-by: Piotr Sikora <piotr at cloudflare.com>
diff -r e8d24b6d7f73 -r 1adfe7a260eb conf/mime.types
--- a/conf/mime.types Wed Sep 18 18:53:26 2013 +0400
+++ b/conf/mime.types Wed Sep 18 12:59:47 2013 -0700
@@ -26,6 +26,7 @@ types {
application/font-woff woff;
application/java-archive jar war ear;
+ application/json json;
application/mac-binhex40 hqx;
application/msword doc;
application/pdf pdf;
More information about the nginx-devel
mailing list