[mod_python] How do you make a subrequest?

Gregory (Grisha) Trubetskoy grisha at modpython.org
Wed Jan 19 21:56:17 EST 2005


Sounds exactly like what req.internal_redirect() does.

Or if your goal is to somehow transform the output of the [sub] request, 
then might a filter be the answer?

Grisha

On Wed, 19 Jan 2005, Scott Sanders wrote:

> I want to make a subrequest to a URI, but not as a redirect, more like an 
> include.  The sub request would return the result of the request as a string. 
> Is there a way to do this?  I assume it is doable in the Apache API.  Even a 
> pointer to some other apache module's c code that does it would be helpful.
>
> Thanks
> Scott Sanders
>
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python
>


More information about the Mod_python mailing list