Skip to content

Commit 19916ba

Browse files
We use "headers" (plural) in header.py, so we use "statuses" (plural) also in this case
1 parent 3f15031 commit 19916ba

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 status")
249+
raise ValueError("Control characters are not allowed in statuses")
250250

251251
self._validate_status(status)
252252

0 commit comments

Comments
 (0)