##// END OF EJS Templates
Fix HEAD requests for kernelspec resources...
Fix HEAD requests for kernelspec resources Closes gh-7237 Closes gh-7258 StaticFileHandler.get() is a coroutine. When Tornado calls a handler method, it uses the return value to determine whether or not it's a coroutine. So when head() calls get(), it needs to pass the return value on for Tornado to handle it properly.

File last commit:

r10447:853e909f
r19601:f0bcc52a
Show More
display.py
16 lines | 638 B | text/x-python | PythonLexer
"""Public API for display tools in IPython.
"""
#-----------------------------------------------------------------------------
# Copyright (C) 2012 The IPython Development Team
#
# Distributed under the terms of the BSD License. The full license is in
# the file COPYING, distributed as part of this software.
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# Imports
#-----------------------------------------------------------------------------
from IPython.core.display import *
from IPython.lib.display import *