[mod_python] PSP and request object

Volodya volodya at real.samuraj.org
Fri May 7 20:39:00 EST 2004


On Fri, May 07, 2004 at 01:04:36PM -0400, Diener, Edward wrote:
> How does one access the request object from PSP code ? I want to call a
> function of mine which takes the request object and returns a string
> which I will be putting in some variable, ie.
>  
> <%=mymodule.myfunction(request_object)%>
>  
> Is this possible ?

sure
<%=mymodule.myfunction(req)%>





More information about the Mod_python mailing list