Parses mimetype-strings (RFC 1049, 2045, 2047 and 2231) and allows comparing these.
Project description
An internet MIME-message is usually accompanied by a content-type string like text/plain or application/collection+json. The mimes library allows parsing these and can if types are subsets of another – a parser that handles application/json, for example, will be perfectly fine handing the collection+json type with less semantics.
It also parses more complex strings including parameters (e.g. application/vnd.company.someapi; version=3) and can construct these as well.
See the docs for details.
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
mimes-0.2.tar.gz
(2.2 kB
view details)
File details
Details for the file mimes-0.2.tar.gz
.
File metadata
- Download URL: mimes-0.2.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ada8e05c52c8eb2a871e6162de44d29043c510201e820d5ef5e37a43ab089bff |
|
MD5 | 6bdd7a632542d1a5306d99274ace3bb9 |
|
BLAKE2b-256 | 430a5b08f6aa93754abef1fe86814f534dec2bc738d3c760e189e33161199969 |