Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

This small library module assists with tasks related to `Content Negotiation by Profile

Project description

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:

Project details


Release history Release notifications

This version

0.1

Download files

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

Files for conneg-by-p, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size conneg_by_p-0.1-py3-none-any.whl (15.4 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size conneg-by-p-0.1.tar.gz (3.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page