We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 129337a commit b87ae4dCopy full SHA for b87ae4d
jupyter_server_proxy/websocket.py
@@ -85,7 +85,10 @@ def undisallow(*args2, **kwargs2):
85
async def get(self, *args, **kwargs):
86
if self.request.headers.get("Upgrade", "").lower() != 'websocket':
87
return await self.http_get(*args, **kwargs)
88
- await super().get(*args, **kwargs)
+ else:
89
+ result = super().get(*args, **kwargs)
90
+ if inspect.isawaitable(result):
91
+ await result
92
93
94
0 commit comments