No need for CHUKED_TE_HANDLED setting

in the end I noticed that Gunicorn and mod_wsgi have extended
the wsgi spec, and I decided to use that instead
This commit is contained in:
Klaas van Schelven
2024-10-14 17:06:35 +02:00
parent a9f6218ae6
commit 3f31fc4c00

View File

@@ -23,7 +23,6 @@ class MyWSGIRequest(WSGIRequest):
if "CONTENT_LENGTH" not in environ and "HTTP_TRANSFER_ENCODING" in environ:
# "unlimit" content length
self._stream = self.environ["wsgi.input"]
environ["CHUNKED_TE_HANDLED"] = True
class MyWSGIHandler(WSGIHandler):