Skip to main content

Library / middleware for URI-based assertions

Project description

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 (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.tar.gz (35.7 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