diff --git a/IPython/html/services/contents/handlers.py b/IPython/html/services/contents/handlers.py index ea33f17..a85e8c6 100644 --- a/IPython/html/services/contents/handlers.py +++ b/IPython/html/services/contents/handlers.py @@ -47,6 +47,7 @@ class ContentsHandler(IPythonHandler): location = self.location_url(model['path']) self.set_header('Location', location) self.set_header('Last-Modified', model['last_modified']) + self.set_header('Content-Type', 'application/json') self.finish(json.dumps(model, default=date_default)) @web.authenticated