Skip to content

Commit dfa30d9

Browse files
jcomeauictxpicnixz
andauthored
Update Lib/http/server.py
Co-authored-by: Bénédikt Tran <[email protected]>
1 parent 8903147 commit dfa30d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/http/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1304,7 +1304,7 @@ def test(HandlerClass=BaseHTTPRequestHandler,
13041304
default='HTTP/1.0',
13051305
help='conform to this HTTP version '
13061306
'(default: %(default)s)')
1307-
parser.add_argument('--content-type', # parsed into content_type
1307+
parser.add_argument('--content-type',
13081308
default=BaseHTTPRequestHandler.default_content_type,
13091309
help='sets default content type for unknown extensions')
13101310
parser.add_argument('port', default=8000, type=int, nargs='?',

0 commit comments

Comments
 (0)