django-sendfile
django-sendfile copied to clipboard
xsendfile etc wrapper
The WSGI protocol specifies an optional mechanism for [higher performance file transmission](http://www.python.org/dev/peps/pep-0333/#optional-platform-specific-file-handling). There is at least one wsgi server that implements this: [uWSGI](http://projects.unbit.it/uwsgi/). A backend that takes advantage of this...
When I try to set up to sendfile with spanish characters (like: á, é, í, ó, ú...) using nginx backend, the link of sendfile response its: 404 not found.
Follows discussion here: https://github.com/johnsensible/django-sendfile/pull/56
As the title says, nginx X-Accel-Redirect expects an unquoted string. Therefore quoting the URL in the nginx backend will cause internal 404s.
It would be nice to offer a wheel package for django-sendfile releases. See http://pythonwheels.com/
Somewhat related to https://github.com/johnsensible/django-sendfile/issues/25, to make sure this maintains Python 3 compatibility, it'd be great to run the tests in Python 3 mode as well. I think this would be...
I'm asking my-self if I make one of my projects python 3.4/django 1.7 as I have big refactoring in front of me. I used the nice tool https://caniusepython3.com/ and it...
AFAIK pypi does not understand markdown syntax. The page of django-sendfile looks strange: https://pypi.python.org/pypi/django-sendfile AFAIK there is online converter to convert markdown to restructured text.
django_sendfile uses the same package namespace as http://code.google.com/p/pysendfile/. Maybe a better one would be "django_sendfile".
our code that was exhibiting the problem return sendfile(request, remote_agent_installer, attachment=True, attachment_filename=filename, mimetype='application/octet-stream', add_encoding_header=False) our work around: we added another param to not add content encoding. --- Python27/Lib/site-packages/sendfile/**init**.py | 4...