FileFindHandler inherits from IPythonHandler

in order to get default CSP headers
pull/169/head
Min RK 11 years ago
parent 5403d2479d
commit e4cc3a6ea2

@ -418,7 +418,7 @@ def json_errors(method):
# to minimize subclass changes:
HTTPError = web.HTTPError
class FileFindHandler(web.StaticFileHandler):
class FileFindHandler(IPythonHandler, web.StaticFileHandler):
"""subclass of StaticFileHandler for serving files from a search path"""
# cache search results, don't search for files more than once

Loading…
Cancel
Save