diff --git a/jupyter_server_terminals/api_handlers.py b/jupyter_server_terminals/api_handlers.py index 7822e03..e0e84ce 100644 --- a/jupyter_server_terminals/api_handlers.py +++ b/jupyter_server_terminals/api_handlers.py @@ -67,7 +67,7 @@ def post(self) -> None: class TerminalHandler(TerminalsMixin, TerminalAPIHandler): """A handler for a specific terminal.""" - SUPPORTED_METHODS = ("GET", "DELETE") # type:ignore[assignment] + SUPPORTED_METHODS = ("GET", "DELETE", "OPTIONS") # type:ignore[assignment] @web.authenticated @authorized