diff --git a/Doc/whatsnew/3.14.rst b/Doc/whatsnew/3.14.rst index ba18991dee89d7..8efff2613f60c4 100644 --- a/Doc/whatsnew/3.14.rst +++ b/Doc/whatsnew/3.14.rst @@ -151,6 +151,14 @@ Added support for converting any objects that have the (Contributed by Serhiy Storchaka in :gh:`82017`.) +http +---- + +Directory lists and error pages generated by the :mod:`http.server` +module allow the browser to apply its default dark mode. +(Contributed by Yorik Hansen in :gh:`123430`.) + + json ---- diff --git a/Lib/http/server.py b/Lib/http/server.py index 2d010649e56b51..a6f7aecc78763f 100644 --- a/Lib/http/server.py +++ b/Lib/http/server.py @@ -114,6 +114,11 @@
+