Have you seen these? https://github.com/GrahamDumpleton/mod_wsgi/issues/312
and https://modwsgi.readthedocs.io/en/develop/configuration-directives/WSGIChunkedRequest.html On Friday, August 22, 2025 at 8:58:43 PM UTC-4 Thierry Florac wrote: > 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? > > Best regards, > Thierry > -- > https://www.ulthar.net -- http://pyams.readthedocs.io > -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/pylons-discuss/b15cc5bf-ab90-4875-9fd0-b7b987c56478n%40googlegroups.com.
