diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py index bacee8ba164b48..a342bcd7901f06 100644 --- a/Lib/mimetypes.py +++ b/Lib/mimetypes.py @@ -531,7 +531,6 @@ def _default_mime_types(): '.aac' : 'audio/aac', '.adts' : 'audio/aac', '.loas' : 'audio/aac', - '.ass' : 'audio/aac', '.au' : 'audio/basic', '.snd' : 'audio/basic', '.mp3' : 'audio/mpeg', @@ -588,6 +587,7 @@ def _default_mime_types(): '.rtf' : 'text/rtf', '.tsv' : 'text/tab-separated-values', '.vtt' : 'text/vtt', + '.ass' : 'text/x-ass', '.py' : 'text/x-python', '.rst' : 'text/x-rst', '.etx' : 'text/x-setext', diff --git a/Misc/NEWS.d/next/Core and Builtins/2024-06-08-02-24-28.gh-issue-120258.EwD7PH.rst b/Misc/NEWS.d/next/Core and Builtins/2024-06-08-02-24-28.gh-issue-120258.EwD7PH.rst new file mode 100644 index 00000000000000..18617afdc17939 --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2024-06-08-02-24-28.gh-issue-120258.EwD7PH.rst @@ -0,0 +1 @@ +Correct MIME type for Advanced SubStation files.