On 11/4/05, Luke Plant <[EMAIL PROTECTED]> wrote:
> Yes, I like this idea.  As I was working with this I found myself think
> a number of times that with a couple more middleware's thrown into the
> mix and you could easily have an impossible set of constraints to
> satisfy.

Actually, if you have a middleware which needs to run in different
places in the request and response chains, you could just split
it in two. One which has process_request and one which has
process_response.

Also, can you come up with an actual middleware, which needs
to run in different places in the req. and resp. chains? Otherwise
this whole discussion is a bit academic, and the code to handle
it in django would be cruft.

/s

Reply via email to