On 10/9/06, Shannon -jj Behrens <[EMAIL PROTECTED]> wrote:
>
> I need to redirect the user to a login server.  I want to pass along
> my complete current URL.  url_for doesn't include the hostname.
> What's the easiest (i.e. a single method call) way of getting the
> complete current URL (i.e. it takes care of http vs. https, the port,
> etc.)?

What I do is piece it together from the stuff in the WSGI environment.
But sometimes your app has no way of knowing, such as if you're
running behind a proxy. In those cases, you really have to manually
specify it.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to