Skip to content

Commit 563de46

Browse files
Update Lib/wsgiref/handlers.py
Co-authored-by: Victor Stinner <vstinner@python.org>
1 parent 673cbc1 commit 563de46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/wsgiref/handlers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ def start_response(self, status, headers,exc_info=None):
251251

252252
def _validate_status(self, status):
253253
if _name_disallowed_re.search(status):
254-
raise ValueError("Control characters are not allowed in statuses")
254+
raise ValueError("Control characters are not allowed in status")
255255
if len(status) < 4:
256256
raise AssertionError("Status must be at least 4 characters")
257257
if not status[:3].isdigit():

0 commit comments

Comments
 (0)