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