Add response['X-Accel-Buffering'] = 'no' to image download.
Without this, when using nginx as a front-end, it generally
times out since the client downloads more slowly than the wsgi
sends to nginx.