Skip to main content

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:

  • LinkHeaderParser

    • parses 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.

  • AcceptProfileHeaderParser

    • parses 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 conneg-by-p 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for conneg-by-p 0.1
File Size Uploaded
conneg-by-p-0.1.tar.gz 3.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for conneg-by-p 0.1
File Interpreter ABI Platform
conneg_by_p-0.1-py3-none-any.whl Python 3 none any Details

Total release size: 18.7 kB

Release files / conneg-by-p-0.1.tar.gz

Download URL conneg-by-p-0.1.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
19b33efb99210b90016d0ba92fffbf7c1de432d3e8def561be7b6fded3c218e8
BLAKE2b-256 checksum
How to use checksums
da64532b4385c3642678a53dff78b28fa8b598331496370da7c72af43cc43790
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 / conneg_by_p-0.1-py3-none-any.whl

Download URL conneg_by_p-0.1-py3-none-any.whl
Size 15.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b1c9c251f63019a0aae8adec837507702a45e9af15f173f9fac8f75296e9ac5f
BLAKE2b-256 checksum
How to use checksums
59cb4546422a5c1def37842a9b0d29ffd5ce62b540d3937ffd4b344b685e6f19
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 history Release notifications | RSS feed

This release

0.1 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