DjangoRangeMiddleware
A Django Middleware Service
Implements HTTP bytes-range requests
When to use?
If you have ever served video file with django you will see that you can't rewind/forward the video, and thats because you don't have bytes-range requests implemented.So if you want to solve this problem you have to implement bytes-range requests. And Using this package you can easily do it :)
Bytes range:
Byte-range requests occur when a client asks the server for only a portion of the requested file. The purpose of this is essentially to conserve bandwidth usage by avoiding the need to download a complete file when all that is required is a small section
Installation
-
install the package using pip
C:/User> pip install DjangoRangeMiddleware
-
Add this to middleware
settings.pyMIDDLEWARE = [ '.........', 'DjangoRangeMiddleware.middleware.RangesMiddleware', ]
And thats it.You're Done.Enjoy ;)
Metadata
Release files for DjangoRangeMiddleware 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| DjangoRangeMiddleware-1.0.1.tar.gz | 3.8 kB | Without provenance | Details for DjangoRangeMiddleware-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| DjangoRangeMiddleware-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for DjangoRangeMiddleware-1.0.1-py3-none-any.whl |
Total release size: 8.3 kB
Release files / DjangoRangeMiddleware-1.0.1.tar.gz
| Download URL | DjangoRangeMiddleware-1.0.1.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6aa37d2601c38ae82575936a0fba974a10910b6074e3d85289b535c481f2fcc0
|
|
BLAKE2b-256 checksum How to use checksums |
cca9d54a6ebf9cf245c79cda71e28244139c402350cdbbca3aff3c028f913976
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|
Release files / DjangoRangeMiddleware-1.0.1-py3-none-any.whl
| Download URL | DjangoRangeMiddleware-1.0.1-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8557adcc8295cbbe23c71ec9a9ffd49bfd6f6341eb6f1fbb6eb2048448fd0468
|
|
BLAKE2b-256 checksum How to use checksums |
a4d0b8e41ecc3a11d1cfae76a14a4a92e5d5c705ecbd2cbcd341b8c1dc94ca32
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|
Security for DjangoRangeMiddleware 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.