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

r13347:54891794
r17153:8449bcd6
Show More
__init__.py
4 lines | 91 B | text/x-python | PythonLexer
Thomas Spura
Unbundle of all external modules....
r3408 try:
from simplegeneric import *
except ImportError:
Thomas Kluyver
Use explicit relative imports...
r13347 from ._simplegeneric import *