We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c4496d commit 4388da5Copy full SHA for 4388da5
1 file changed
Doc/whatsnew/3.15.rst
@@ -832,6 +832,12 @@ http.server
832
<using-on-controlling-color>`.
833
(Contributed by Hugo van Kemenade in :gh:`146292`.)
834
835
+* Added :attr:`~http.server.SimpleHTTPRequestHandler.default_content_type`
836
+ and the :option:`--content-type <http.server --content-type>` command-line
837
+ option to allow customizing the default ``Content-Type`` header
838
+ for files with unknown extensions.
839
+ (Contributed by John Comeau and Hugo van Kemenade in :gh:`113471`.)
840
+
841
842
inspect
843
-------
0 commit comments