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.
My workaround is:
ctx.protocol = (env.get('HTTPS')!='off') and 'https' or 'http'
Let me know if I'm right.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---