In Request.py:
def isSecure(self):
''' Returns true if request was made using a secure
channel, such as HTTPS. This currently always returns false, since
secure channels are not yet supported. '''
return 0
Is this still true? I thought I was using HTTPS with no problems but
the SERVER_PROTOCOL still says "HTTP/1.1". The following code was going
to be my hack to detect SSL but it won't work until SERVER_PROTOCOL
shows HTTPS. What's really going on? Why does it say HTTP/1.1 when I
use https://...?
def isSecure(self):
return
self.serverDictionary().get('SERVER_PROTOCOL','')[0:5].upper() ==
'HTTPS'
_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-devel