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

Maxim Dounin mdounin at mdounin.ru
Thu Sep 19 13:26:32 UTC 2013


On Wed, Sep 18, 2013 at 01:07:20PM -0700, Piotr Sikora wrote:

> 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.

The json is mostly used as a MIME type of dynamic responses, and 
it's popularity as a MIME type of files is very unclear for me.  
But locate suggests that my own notebook has more than 1k .json 
files, so it probably worth adding.  :)

> # 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>

Committed, thanks.

Maxim Dounin

More information about the nginx-devel mailing list