About Anaconda Help Download Anaconda

conda-forge / packages / django-ranged-response 0.2.0

Adds support for HTTP_RANGE requests in Django.

copied from cf-staging / django-ranged-response

Installers

  • noarch v0.2.0

conda install

To install this package run one of the following:
conda install conda-forge::django-ranged-response

Description

If you're in the situation that you have an authenticated Django view that returns files for download, you may have noticed that Safari 9.x doesn't play audio files properly when returning audio-files. The reason is that Safari sends a HTTP_RANGE request header and expects a proper Content-Range response header in return. The original suggested fix applies the code to Django's static view. This is a packaged version of that fix, but uses a modified FileResponse, instead of applying it to Django's static view.


© 2024 Anaconda, Inc. All Rights Reserved. (v4.0.6) Legal | Privacy Policy