Skip to main content

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)

Source distribution for request-content-type-finder 0.1.0
File Size Uploaded
request-content-type-finder-0.1.0.tar.gz 3.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for request-content-type-finder 0.1.0
File Interpreter ABI Platform
request_content_type_finder-0.1.0-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page