##// END OF EJS Templates
catch IOError in addition to OSError...
catch IOError in addition to OSError IOError is a subclass of OSError on py3, but not py2

File last commit:

r19148:fe07146a
r20489:fb6299ba
Show More
__init__.py
4 lines | 263 B | text/x-python | PythonLexer
# URI for the CSP Report. Included here to prevent a cyclic dependency.
# csp_report_uri is needed both by the BaseHandler (for setting the report-uri)
# and by the CSPReportHandler (which depends on the BaseHandler).
csp_report_uri = r"/api/security/csp-report"