fixed websockets test

This commit is contained in:
Roberto De Ioris
2013-01-14 15:17:21 +01:00
parent ee129f02bc
commit cd91830d65
+1 -1
View File
@@ -4,7 +4,7 @@ import time
def application(env, sr):
ws_scheme = 'ws'
if 'HTTPS' in env or env['wsgi.scheme'] == 'https':
if 'HTTPS' in env or env['wsgi.url_scheme'] == 'https':
ws_scheme = 'wss'
if env['PATH_INFO'] == '/':