From cd91830d657056c620d14cfd0ce8e4973e47c3ef Mon Sep 17 00:00:00 2001 From: Roberto De Ioris Date: Mon, 14 Jan 2013 15:17:21 +0100 Subject: [PATCH] fixed websockets test --- tests/websockets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/websockets.py b/tests/websockets.py index 42eece10..7278b3a2 100644 --- a/tests/websockets.py +++ b/tests/websockets.py @@ -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'] == '/':