Finds content type of request response from content disposition/ content type and when content disposition and content type not present in response headers
Project description
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 |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for request-content-type-finder-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a31438702fdcb7eebc9fffc8a9f972d1fedc36734e14b7facc387946199ac99 |
|
MD5 | 488a45ec0396beb970555e089e11c6da |
|
BLAKE2b-256 | b40b29ab6648275b32c4ca9cadff15a15c655582b036d6c4d2725672bae6933b |
Close
Hashes for request_content_type_finder-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c570531ce353a94752ab415340eea68b7da2262824ed00cba414f6afc3eaece6 |
|
MD5 | 526b1c35ed5218ee06c136ca86727282 |
|
BLAKE2b-256 | 37b6683d5975deb5eaccd35a98d8645b0c85775fa2ea5056a43e72379fa3c804 |