Django打开gzip导致文件流content-length丢失
use gzip middleware will del response['Content-Length']
if response.streaming. nginx gzip is the same problem.
If file feature is important. You’d better be independent from the api or system.
use gzip middleware will del response['Content-Length']
if response.streaming. nginx gzip is the same problem.
If file feature is important. You’d better be independent from the api or system.