Hi,
My Pyramid application is supporting partial contents transfer for requests using "range" headers, actually to serve PDF and videos files.
The application is deployed behind an HAProxy with Apache and mod_wsgi; after using this feature without any problem for years (with Apache 2.4.25, mod_wsgi 4.5.11 and Python 3.5), I add to upgrade my configuration recently (with Apache 2.4.62, mod_wsgi 4.9.4 and Python 3.11) and I now get errors in Apache logs:
>>> Received request requiring chunked transfer encoding, but optional support for chunked transfer encoding has not been enabled.
I found references to topics saying that WSGI protocol doesn't support chunked transfer encoding natively, and to a configuration directive (WSGIChunkedRequest) that I added to my Apache configuration. Now the error disappeared, but files download is still really very very long!
Would you have any idea about the origin of this issue?