09.08.17 21:17, Brett Cannon пише:
On Wed, 9 Aug 2017 at 10:43 Nate. <[email protected] <mailto:[email protected]>> 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).
https://bugs.python.org/issue30824 _______________________________________________ Python-ideas mailing list [email protected] https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/
