File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -837,7 +837,7 @@ http.server
837837 HTTP responses.
838838 (Contributed by Anton I. Sipos in :gh: `135057 `.)
839839
840- * Add a ``-H `` or `` --header `` flag to the :program: `python -m http.server `
840+ * Add a ``-H/ --header `` option to the :program: `python -m http.server `
841841 command-line interface to support custom headers in HTTP responses.
842842 (Contributed by Anton I. Sipos in :gh: `135057 `.)
843843
Original file line number Diff line number Diff line change @@ -758,7 +758,7 @@ def do_HEAD(self):
758758 f .close ()
759759
760760 def _send_extra_response_headers (self ):
761- """Send the headers stored in self.extra_response_headers"""
761+ """Send the headers stored in self.extra_response_headers. """
762762 if self .extra_response_headers is not None :
763763 for header , value in self .extra_response_headers :
764764 self .send_header (header , value )
You can’t perform that action at this time.
0 commit comments