##// END OF EJS Templates
only compare host:port in Websocket.check_origin...
only compare host:port in Websocket.check_origin don't include protocol - matches tornado's own behavior - avoids incorrect 403 in http-behind-https proxy situations.

File last commit:

r13347:54891794
r17851:812a7956
Show More
tokenize2.py
9 lines | 160 B | text/x-python | PythonLexer
"""Load our patched versions of tokenize.
"""
import sys
if sys.version_info[0] >= 3:
from ._tokenize_py3 import *
else:
from ._tokenize_py2 import *