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