From 3f31fc4c00eec8ae056c5acc09df626b8a18b3a0 Mon Sep 17 00:00:00 2001 From: Klaas van Schelven Date: Mon, 14 Oct 2024 17:06:35 +0200 Subject: [PATCH] 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 --- bugsink/wsgi.py | 1 - 1 file changed, 1 deletion(-) diff --git a/bugsink/wsgi.py b/bugsink/wsgi.py index 3b8ad87..1e46b1e 100644 --- a/bugsink/wsgi.py +++ b/bugsink/wsgi.py @@ -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):