Skip to main content

Library / middleware for URI-based assertions

Project description

repoze.urispace README

Overview

repoze.urispace implements the URISpace 1.0 spec, as proposed to the W3C by Akamai. Its aim is to provide an implementation of that language as a vehicle for asserting declarative metadata about a resource based on pattern matching against its URI.

Once asserted, such metadata can be used to guide the application in serving the resource, with possible applciations including:

  • Setting cache control headers.

  • Selecting externally applied themes, e.g. in Deliverance.

  • Restricting access, e.g. to emulate Zope’s “placeful security.”

Please see the package docs for detailed documentation.

repoze.urispace Changelog

0.3.2 (2009-07-13)

  • Fix rendering of PyPI page.

0.3.1 (2009-07-13)

  • 100% unit test coverage.

  • Added test / fix for bug in repoze.urispace.middleware:make_middleware.

  • Added support for coverage testing.

0.3 (2009-07-06)

  • Made the getInfo method of the middleware class into a separate API.

0.2 (2009-07-04)

  • Split out notes on the parser implementation from the main docs about using the library / middleware.

  • Added WSGI middleware which uses a URISpace to make assertions about the current request’s URI, along with an API for extracting those assertions from the environment.

0.1 (2008-08-30)

  • Initial release.

Project details


Download files

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

Source Distribution

repoze.urispace-0.3.2.tar.gz (34.1 kB view details)

Uploaded Source

File details

Details for the file repoze.urispace-0.3.2.tar.gz.

File metadata

File hashes

Hashes for repoze.urispace-0.3.2.tar.gz
Algorithm Hash digest
SHA256 6a0b57d29387f7c7df536977f78a36a6dcfdbd05ed2387b676b609f32064fa5e
MD5 514bdeb865dc2366eb176fbbe99adea2
BLAKE2b-256 9d5085ba9b524ce7d4ff6afe06e53f01c927d8aa3c08c7fef26b8532c68d9a09

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page