The middleware is loaded by whatever is serving your requests, and
when it loads it'll process through that file - invoking "foofunc()"
in the path and executing it.
I'm not sure I understand your second question though.
-joe
On 7/31/07, james_027 <[EMAIL PROTECTED]> wrote:
>
> Hi Thomas
>
> >
Hi Thomas
> The methods of each middleware are called one for every request. If your
> changes need information from the request, that's the right place.
>
> If you want to add a method which should be added once the server (mod_python,
> scgi, ...) starts you can use this place too. But it is be
Am Dienstag, 31. Juli 2007 11:26 schrieb james_027:
> Hi,
>
> I want to make sure that my understanding is right. is middleware the
> place where I can add more attribute to the HttpRequest Object and
> manipulate the added attribte?
>
> Is this advisable? if Not where is the right place to do it?
Hi,
I want to make sure that my understanding is right. is middleware the
place where I can add more attribute to the HttpRequest Object and
manipulate the added attribte?
Is this advisable? if Not where is the right place to do it?
Thanks
james
--~--~-~--~~~---~--
4 matches
Mail list logo