diff --git a/notebook/base/handlers.py b/notebook/base/handlers.py index 686dcb93b..c05628f17 100644 --- a/notebook/base/handlers.py +++ b/notebook/base/handlers.py @@ -390,7 +390,7 @@ class APIHandler(IPythonHandler): def options(self, *args, **kwargs): self.set_header('Access-Control-Allow-Headers', 'accept, content-type') self.set_header('Access-Control-Allow-Methods', - 'GET, PUT, PATCH, DELETE, OPTIONS') + 'GET, PUT, POST, PATCH, DELETE, OPTIONS') self.finish()