Subsections


4.3 Middleware: Global Extension

Aspen allows for a full WSGI middleware stack, configured via the __/etc/middleware.conf file. This is simply a newline-separated list of middleware specifiers in colon notation. The first-mentioned middleware will be the outer-most in the stack (i.e., closest to the browser).

4.3.1 Example middleware.conf

example.foo:bar # called as is
example.baz:Buz # will be instantiated

aspen is Zeta software. It is copyright © 2006 by Chad Whitacre, and is offered free of charge, warranty, and restrictions.