request_content_type_finder
Finds type of requests content in the following cases -
- content disposition and content type present in response headers
- when none of the above is present, content type is found using file signatures(magic bytes)
Installation
pip install request-content-type-finder
Usage
from request_content_type_finder import find
find(requests_response)
Contributors
| Name | Contact |
|---|---|
| Shivam Kadukar | shivamk2802@gmail.com |
Metadata
Release files for request-content-type-finder 0.1.0
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 |
|---|---|---|---|---|
| request-content-type-finder-0.1.0.tar.gz | 3.7 kB | Without provenance | Details for request-content-type-finder-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| request_content_type_finder-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for request_content_type_finder-0.1.0-py3-none-any.whl |
Total release size: 8.0 kB
Release files / request-content-type-finder-0.1.0.tar.gz
| Download URL | request-content-type-finder-0.1.0.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0a31438702fdcb7eebc9fffc8a9f972d1fedc36734e14b7facc387946199ac99
|
|
BLAKE2b-256 checksum How to use checksums |
b40b29ab6648275b32c4ca9cadff15a15c655582b036d6c4d2725672bae6933b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.5
|
Release files / request_content_type_finder-0.1.0-py3-none-any.whl
| Download URL | request_content_type_finder-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c570531ce353a94752ab415340eea68b7da2262824ed00cba414f6afc3eaece6
|
|
BLAKE2b-256 checksum How to use checksums |
37b6683d5975deb5eaccd35a98d8645b0c85775fa2ea5056a43e72379fa3c804
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.5
|
Security for request-content-type-finder 0.1.0
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.