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/CAPX_VWBjdeqSVSWrA_E8aaNdyvd12ZqnohJ3HmygshODUWatAg%40mail.gmail.com.

Reply via email to