mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-30 12:11:32 +08:00
Merge pull request #7259 from takluyver/kernelspec-head-error
Fix HEAD requests for kernelspec resources
This commit is contained in:
commit
53d1f1b1a1
@ -20,7 +20,7 @@ class KernelSpecResourceHandler(web.StaticFileHandler, IPythonHandler):
|
||||
|
||||
@web.authenticated
|
||||
def head(self, kernel_name, path):
|
||||
self.get(kernel_name, path, include_body=False)
|
||||
return self.get(kernel_name, path, include_body=False)
|
||||
|
||||
default_handlers = [
|
||||
(r"/kernelspecs/%s/(?P<path>.*)" % kernel_name_regex, KernelSpecResourceHandler),
|
||||
|
Loading…
Reference in New Issue
Block a user