We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4978373 + 56d4f2c commit 6a96754Copy full SHA for 6a96754
notebook/files/handlers.py
@@ -57,7 +57,7 @@ def get(self, path, include_body=True):
57
self.set_attachment_header(name)
58
59
# get mimetype from filename
60
- if name.endswith('.ipynb'):
+ if name.lower().endswith('.ipynb'):
61
self.set_header('Content-Type', 'application/x-ipynb+json')
62
else:
63
cur_mime = mimetypes.guess_type(name)[0]
0 commit comments