Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

request-content-type-finder-0.1.0.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page