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

Uploaded Source

File details

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

File metadata

  • Download URL: repoze.urispace-0.3.tar.gz
  • Upload date:
  • Size: 35.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for repoze.urispace-0.3.tar.gz
Algorithm Hash digest
SHA256 a0ae94ef067f0d85192260927358e9f21d86f19e7674abdceabad4ca83d94230
MD5 4ddd1b3799b853212c30f98b80556e62
BLAKE2b-256 e9bc77aa0babb5e48932d67ff4f46736a2739ecf5b7ded04bf29b62f539ad249

See more details on using hashes here.

Supported by

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