On Thu, Nov 26, 2009 at 7:45 PM, Vivek Rajendran <[email protected]> wrote:
>
> Hi,
>    A doubt again...
>    I have looked into apache.py file inside
> /usr/lib/python2.3/site-packages/... path and they have a method
> build_cgi_env(req)
>
>    If we invoke this function it gives a dict of env variables.
>    But I don't know how to invoke this function ? with that 'req' argument.

 import apache
 env = apache.build_cgi_env(req)

 req will be the request object.

regards
Vivek

-- 
The hidden harmony is better than the obvious!!
_______________________________________________
BangPypers mailing list
[email protected]
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to