From e4cc3a6ea25112634130d2e98e8e0cc939cd49ac Mon Sep 17 00:00:00 2001 From: Min RK Date: Sat, 20 Jun 2015 13:44:29 -0700 Subject: [PATCH] FileFindHandler inherits from IPythonHandler in order to get default CSP headers --- notebook/base/handlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notebook/base/handlers.py b/notebook/base/handlers.py index bfa94ea58..3ca50a46f 100644 --- a/notebook/base/handlers.py +++ b/notebook/base/handlers.py @@ -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