What is the typical size of your compressed request content?
Am going to write a WSGI middleware wrapper for you which recalculates
correct CONTENT_LENGTH, however, if files are two big, then will need
to use a temporary file on disk rather than buffer it in memory.
Also, so I know what to check for, what header is it in request which
designates content was compressed and what it is set to. I can look
this up, but just want to be sure of what you are using.
In respect of SO comment and the original Django ticket, it wasn't
suggest you send wrong Content-Length from client, but that
CONTENT_LENGTH be recalculated as WSGI middleware I will post when
done will do.
Graham