I am having a major problem with this since upgrading to the 0.3
release... I am not trying to fiddle with the ctx protocol, I just
want it to stay the same as what I typed in!!

web.seeother('/...') is switching me back to http.

On Nov 22, 10:25 am, "Anand Chitipothu" <[EMAIL PROTECTED]> wrote:
> On Sat, Nov 22, 2008 at 1:51 AM, [EMAIL PROTECTED]
>
> <[EMAIL PROTECTED]> wrote:
>
> > In application.py:
>
> > ctx.protocol = env.get('HTTPS') and 'https' or 'http'
>
> > In my case, env.get('HTTPS') = 'off', so ctx.protocol is set to
> > 'https', which is wrong.
>
> You must be looking at old code. Here is the current code:
>
>         if env.get('HTTPS', '').lower() in ['on', 'true']:
>             ctx.protocol = 'https'
>         else:
>             ctx.protocol = 'http'
>
> seehttp://github.com/webpy/webpy/tree/master/web/application.py
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to