diff --git a/notebook/nbconvert/handlers.py b/notebook/nbconvert/handlers.py index ec47db5cb4..87c1c9af3b 100644 --- a/notebook/nbconvert/handlers.py +++ b/notebook/nbconvert/handlers.py @@ -78,6 +78,7 @@ def get_exporter(format, **kwargs): raise web.HTTPError(500, "Could not construct Exporter: %s" % e) class NbconvertFileHandler(IPythonHandler): + SUPPORTED_METHODS = ('GET',) @web.authenticated def get(self, format, path): @@ -125,6 +126,7 @@ def get(self, format, path): class NbconvertServiceHandler(IPythonHandler): + SUPPORTED_METHODS = ('POST',) @web.authenticated def post(self):