2011/2/2 Casey <[email protected]>:
> Hi,
>
> First, apologies if this is super simple, though I can't seem to
> figure it out from the docs or google.
>
> How do you conditionally a url using redirect()/seeother() to another
> url but force the use of HTTPS? There are many urls I only want to
> serve over ssl.
raise web.redirect("https://" + web.ctx.host + "/foo/bar")
--
You received this message because you are subscribed to the Google Groups
"web.py" 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/webpy?hl=en.