Update Misc/NEWS.d/next/Library/2025-10-15-15-10-34.gh-issue-140166.NtxRez.rst

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
This commit is contained in:
Charlie Lin 2025-10-15 12:33:27 -04:00 committed by GitHub
parent ae72a3e7a8
commit 002923f721
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1 +1 @@
Per https://www.iana.org/assignments/media-types/application/texinfo, the .texi and .texinfo file formats has an officially-registered MIME type, application/texinfo Therefore remove the outdated application/x-texinfo alias.
:mod:`mimetypes`: Per the `IANA assignment <https://www.iana.org/assignments/media-types/application/texinfo>`_, update the MIME type for the ``.texi`` and ``.texinfo`` file formats to ``application/texinfo``, instead of ``application/x-texinfo``.