Skip to content

Commit 0a1dd00

Browse files
Apply suggestion from @vstinner
Co-authored-by: Victor Stinner <vstinner@python.org>
1 parent 2ecd9be commit 0a1dd00

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
@@ -246,7 +246,7 @@ def start_response(self, status, headers,exc_info=None):
246246
status = self._convert_string_type(status, "Status")
247247

248248
if _name_disallowed_re.search(status):
249-
raise ValueError("Control characters are not allowed in headers and status")
249+
raise ValueError("Control characters are not allowed in status")
250250

251251
self._validate_status(status)
252252

0 commit comments

Comments
 (0)