##// END OF EJS Templates
Backport PR #6061: make CORS configurable...
Backport PR #6061: make CORS configurable allows setting CORS headers. - allow_origin sets Access-Control-Allow-Origin directly - allow_origin_pat allows setting Access-Control-Allow-Origin via regular expression, since the header spec itself doesn’t support nontrivial rules. - allow_credentials sets Access-Control-Allow-Credentials: true ...

File last commit:

r10201:06a54042
r17153:8449bcd6
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