You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, I don't know what is the best way to configure DownloadView with Nginx X-Accel...
Inheritance and class methods (i.e. DownloadMixin.x_accel_response(...)) may not be the best choice, since it would mean that DownloadMixin has to support variations for many http servers (nginx, lighttpd, apache...).
See http://wiki.nginx.org/X-accel and http://wiki.nginx.org/XSendfile
Here is a raw implementation, to give an idea...
The response class may support all headers supported by Nginx.
The text was updated successfully, but these errors were encountered: