Show More
@@ -47,6 +47,7 b' class ContentsHandler(IPythonHandler):' | |||
|
47 | 47 | location = self.location_url(model['path']) |
|
48 | 48 | self.set_header('Location', location) |
|
49 | 49 | self.set_header('Last-Modified', model['last_modified']) |
|
50 | self.set_header('Content-Type', 'application/json') | |
|
50 | 51 | self.finish(json.dumps(model, default=date_default)) |
|
51 | 52 | |
|
52 | 53 | @web.authenticated |
General Comments 0
You need to be logged in to leave comments.
Login now