It might be a wrong place to ask this question since this is Routes
specific one. In a project I'm currently working on I need to swithch
from plain HTTP to HTTPS to protect sencitive information entered and
submitted by user.

If I use redirect_to(protocol='https', ...) it builds URL that has 80
as a port. Of course, I can generate URL with url_for for HTTP protocol
then convert it into HTTPS one by parsing/assembling it using urllib.
But it doesn't seem to be a nice. Is there any better way of dealing
with situations like that?

Thanks in advance for any help


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