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 84cb2f2 commit efbcb17Copy full SHA for efbcb17
examples/v201/central_system.py
@@ -42,8 +42,6 @@ async def on_connect(websocket, path):
42
try:
43
requested_protocols = websocket.request_headers["Sec-WebSocket-Protocol"]
44
except KeyError:
45
- logging.info("Client hasn't requested any Subprotocol. " "Closing Connection")
46
- return await websocket.close()
47
logging.error("Client hasn't requested any Subprotocol. Closing Connection")
48
return await websocket.close()
49
if websocket.subprotocol:
0 commit comments