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

r12513:6b68269f
r17153:8449bcd6
Show More
__init__.py
8 lines | 185 B | text/x-python | PythonLexer
from .base import PostProcessorBase
from .pdf import PDFPostProcessor
# protect against unavailable tornado
try:
from .serve import ServePostProcessor
except ImportError:
pass