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 hashes)

Uploaded Source

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