Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

connegp

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

connegp

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

  • 0.2
  • Source
  • PyPI
  • Socket score

Maintainers
2

Conneg by P

This small library module assists with tasks related to Content Negotiation by Profile <https://www.w3.org/TR/dx-prof-conneg/>, which is a W3C Standard <https://www.w3.org/standards/> 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:

  • :code: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 <https://www.w3.org/TR/dx-prof-conneg/#http-listprofiles>_ function
    • can separate out profile URI/token mappings, as per the Conneg by P Link Attributes <#link-attributes>_ specification.
  • :code: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 <LICENSE>_ for more details.

Contacts

Lead Developer:

| Nicholas Car | Data Systems Architect | SURROUND Australia Pty Ltd <https://surroundaustralia.com>_ | nicholas.car@surroundaustralia.com | http://orcid.org/0000-0002-8742-7730

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc