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)
pip install request-content-type-finder
from request_content_type_finder import find
find(requests_response)
Name | Contact |
---|---|
Shivam Kadukar | [email protected] |