mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-18 11:55:46 +08:00
commit
4f944737d8
@ -138,8 +138,12 @@ class NbconvertFileHandler(IPythonHandler):
|
||||
self.set_header('Content-Type',
|
||||
'%s; charset=utf-8' % exporter.output_mimetype)
|
||||
|
||||
self.set_header('Cache-Control', 'no-store, no-cache, must-revalidate, max-age=0')
|
||||
self.finish(output)
|
||||
|
||||
def compute_etag(self):
|
||||
return None
|
||||
|
||||
class NbconvertPostHandler(IPythonHandler):
|
||||
SUPPORTED_METHODS = ('POST',)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user