[PATCH] MIME: added application/json MIME type.

Maxim Dounin mdounin at mdounin.ru
Wed Sep 18 14:54:51 UTC 2013


Hello!

On Tue, Sep 17, 2013 at 07:43:03PM -0700, Piotr Sikora wrote:

> # HG changeset patch
> # User Piotr Sikora <piotr at cloudflare.com>
> # Date 1379472064 25200
> #      Tue Sep 17 19:41:04 2013 -0700
> # Node ID 95fe40e55d7fddc1c38ac309d4128bae3d9da485
> # Parent  15d823bf6d3e3df5e202222b3a1832f67c024bfe
> MIME: added application/json MIME type.
> 
> Signed-off-by: Piotr Sikora <piotr at cloudflare.com>
> 
> diff -r 15d823bf6d3e -r 95fe40e55d7f conf/mime.types
> --- a/conf/mime.types   Tue Sep 17 17:31:00 2013 +0400
> +++ b/conf/mime.types   Tue Sep 17 19:41:04 2013 -0700
> @@ -6,6 +6,7 @@ types {
>      image/gif                             gif;
>      image/jpeg                            jpeg jpg;
>      application/javascript                js;
> +    application/json                      json;
>      application/atom+xml                  atom;
>      application/rss+xml                   rss;

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.

-- 
Maxim Dounin
http://nginx.org/en/donation.html



More information about the nginx-devel mailing list