On Mon, Dec 7, 2009 at 9:58 AM, Jonathan Vanasco <[email protected]> wrote:
> mike-
>
> on the subject... does Pylons have a subrequest facility ?
>
> Some platforms , like mod_perl , offer it:
>
> http://perl.apache.org/docs/2.0/api/Apache2/SubRequest.html
>
> internal_redirect
>
> Redirect the current request to some other uri internally

No.  "return self.othermethod()" is the equivalent.

However, the need for subrequests is diminished because of the
flexible routing.  Any route can have a match function that chooses
the action based on some arbitrary aspect of the request.

The error middleware does subrequests to produce the error page, but
that's not the same thing.

-- 
Mike Orr <[email protected]>

--

You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.


Reply via email to