[Python-ideas] Mimetypes Include application/json

Serhiy Storchaka storchaka at gmail.com
Wed Aug 9 14:24:49 EDT 2017

09.08.17 21:17, Brett Cannon пише:
> On Wed, 9 Aug 2017 at 10:43 Nate. 
> <e4r7hbug at gmail.com 
> <mailto:e4r7hbug at gmail.com>> wrote:
>     A friend and I have hit a funny situation with the `mimetypes.py`
>     library
>     guessing the type for a '.json' file. Is there a reason why '.json'
>     hasn't been
>     added to the mapping?
> Probably no one thought about it since the module was added in 1997 
> which is only 2 years after the creation of JavaScript itself. :)

No one proposed a patch.

> Feel free to file a bug at bugs.python.org <http://bugs.python.org> and 
> if you aren't too bothered then submit a PR to github.com/python/cpython 
> <http://github.com/python/cpython> (https://devguide.python.org/ has all 
> the details).


More information about the Python-ideas mailing list