Skip to content

Commit 8d1286a

Browse files
committed
gh-135056: Document -H, --header cli params in http.server.rst
1 parent d47c5a7 commit 8d1286a

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

Doc/library/http.server.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -556,6 +556,14 @@ The following options are accepted:
556556

557557
.. versionadded:: 3.14
558558

559+
.. option:: -H, --header <header> <value>
560+
561+
Specify an additional custom HTTP Response Header to send on successful HTTP
562+
200 responses. Can be used multiple times to send additional custom response
563+
headers.
564+
565+
.. versionadded:: next
566+
559567

560568
.. _http.server-security:
561569

0 commit comments

Comments
 (0)