Skip to content

Commit 89a89f0

Browse files
committed
gh-135056: Add whatsnew entries to 3.15.rst for custom headers.
1 parent c376a71 commit 89a89f0

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Doc/whatsnew/3.15.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,18 @@ difflib
109109
(Contributed by Jiahao Li in :gh:`134580`.)
110110

111111

112+
http.server
113+
-----------
114+
115+
* Added a new ``response_headers=`` keyword argument to
116+
:class:`SimpleHTTPRequestHandler` to support custom headers in HTTP responses.
117+
(Contributed by Anton I. Sipos in :gh:`135057`.)
118+
119+
* Added a ``--header`` flag to the :program:`python -m http.server`
120+
command-line interface to support custom headers in HTTP responses.
121+
(Contributed by Anton I. Sipos in :gh:`135057`.)
122+
123+
112124
math
113125
----
114126

0 commit comments

Comments
 (0)