nginx + fastCGI + Django - getting data corruption in the responses sent to the client
Solution 1:
Do you have any kind of nginx caching ( bypass / no_cache ) directive active for the fastcgi responses?
In nginx' 1.0.3 Changenotes they fixed a response corruption:
Bugfix: a cached response may be broken if "proxy/fastcgi/scgi/ uwsgi_cache_bypass" and "proxy/fastcgi/scgi/uwsgi_no_cache" directive values were different; the bug had appeared in 0.8.46.
Source: http://nginx.org/en/CHANGES ( 1.0.3. section )