it cheats and there is a 'REALLY_LAST' and a 'REALLY_FIRST' ;-)
most people just use the pre/post dependancies, and only uses the
first/last thing when it has to do with hacks to do set certain
variables before something is run and some of the hooks are set to run
until someone answers it. (which
On Mon, 14 Nov 2005 16:57:10 -0600 Jacob Kaplan-Moss wrote:
> 1. There's no way to set the order of the response middleware
> without changing the order of the request middleware. So if you've
> got a middleware that needs to be the first on both request and
> response, you're screwed.
You coul
On Nov 14, 2005, at 5:05 PM, Ian Holsman wrote:
you might want to implement something similar to what apache2 did with
their hooks.
it sounds pretty complex, but in reality you hardly need to use all
the options.
1. define when the middle ware will be run .. FIRST, MIDDLE, or LAST.
2. define
you might want to implement something similar to what apache2 did with
their hooks.
it sounds pretty complex, but in reality you hardly need to use all the options.
1. define when the middle ware will be run .. FIRST, MIDDLE, or LAST.
2. define which middleware has to run before and which has to