This small library module assists with tasks related to Content Negotiation by Profile, which is a W3C Standard about how Internet clients may negotiate for content provided by servers based on data profiles to which the content conforms.
Library Structure
The library really only consists of a few classes:
LinkHeaderParserparses Link headers, of the sort generated by Conneg by P HTTP Functional Profile-compliant systems
can separate out profiles, described as per the Conneg by P HTTP’s list profiles function
can separate out profile URI/token mappings, as per the Conneg by P Link Attributes specification.
AcceptProfileHeaderParserparses Accept-Profile headers, of the sort needed to be supplied by clients when requesting content by profile according to Conneg by P’s HTTP Functional Profile
See the code itself for class and method documentation!
Licence
This is licensed under GNU General Public License (GPL) v3.0. See the license deed for more details.
Contacts
Lead Developer:
Release files for connegp 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| connegp-0.2.tar.gz | 3.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| connegp-0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.6 kB
Release files / connegp-0.2.tar.gz
| Download URL | connegp-0.2.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
768df64221643d16cf11d09713381d1ac9c798584773d460fc675e40894aab77
|
|
BLAKE2b-256 checksum How to use checksums |
1aa9bb09b583ecfe2e93ec9541e3b1f8bf574a48c16527b55e75bd8fd4ca5364
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3
|
Release files / connegp-0.2-py3-none-any.whl
| Download URL | connegp-0.2-py3-none-any.whl |
|---|---|
| Size | 15.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
294c4f8c7b763ac514735ff24c4bc3cb930271fa3a2022f28b4d00ff8fcedab9
|
|
BLAKE2b-256 checksum How to use checksums |
f127926db8eac3228b0cbb31f44337f8e9fdb6b6f94930f439b5918acee5aa17
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3
|