Skip to content

Commit eac5c6a

Browse files
committed
gh-135056: Note both -H and --header in NEWS entries.
1 parent 777b5b6 commit eac5c6a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/whatsnew/3.15.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ http.server
116116
:class:`SimpleHTTPRequestHandler` to support custom headers in HTTP responses.
117117
(Contributed by Anton I. Sipos in :gh:`135057`.)
118118

119-
* Added a ``--header`` flag to the :program:`python -m http.server`
119+
* Added a ``-H`` or ``--header`` flag to the :program:`python -m http.server`
120120
command-line interface to support custom headers in HTTP responses.
121121
(Contributed by Anton I. Sipos in :gh:`135057`.)
122122

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Add a ``--header`` CLI option to :program:`python -m http.server`. Contributed by
1+
Add a ``-H`` or ``--header`` CLI option to :program:`python -m http.server`. Contributed by
22
Anton I. Sipos.

0 commit comments

Comments
 (0)