##// 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:

r10201:06a54042
r17851:812a7956
Show More
__init__.py
17 lines | 681 B | text/x-python | PythonLexer
#-----------------------------------------------------------------------------
# Copyright (C) 2013 The IPython Development Team
#
# Distributed under the terms of the BSD License. The full license is in
# the file COPYING.txt, distributed as part of this software.
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# Verify zmq version dependency >= 2.1.11
#-----------------------------------------------------------------------------
from IPython.utils.zmqrelated import check_for_zmq
check_for_zmq('2.1.11', 'IPython.kernel.zmq')
from .session import Session