Skip to content

Commit 6b13a3e

Browse files
Update handlers.py
1 parent 499679c commit 6b13a3e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Lib/wsgiref/handlers.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -237,10 +237,6 @@ def start_response(self, status, headers,exc_info=None):
237237

238238
self.status = status
239239

240-
# The next line should not be changed because it
241-
# indirectly prevents injections via C0 control
242-
# characters in the following lines via raising a ValueError
243-
# inside headers_class.
244240
self.headers = self.headers_class(headers)
245241

246242
status = self._convert_string_type(status, "Status")

0 commit comments

Comments
 (0)