Latest Version: 0.9.6.2

middleware

Pylons' WSGI middlewares


Functions

f ErrorDocuments(app, global_conf=None, mapper=None, **kw) ...

Wraps the app in error docs using Paste RecursiveMiddleware and ErrorDocumentsMiddleware

All the args are passed directly into the ErrorDocumentsMiddleware. If no mapper is given, a default error_mapper is passed in.

f ErrorHandler(app, global_conf, **errorware) ...

ErrorHandler Toggle

If debug is enabled, this function will return the app wrapped in our customized Paste EvalException middleware we have called the PylonsEvalException.

Otherwise, the app will be wrapped in the Paste ErrorMiddleware, and the errorware dict will be passed into it.

Classes

C StaticJavascripts(...) ...

Middleware for intercepting requests for WebHelpers' included javascript files.

Triggered when PATH_INFO begins with '/javascripts/'.

This class contains 2 members.

See the source for more information.

Top