You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I binded a tornado.websocket.WebSocketHandler with a normal route like "/ws" and it works as expected. However when i bind the handler with a regex route like "/nws/(.*)" it doesn't call the "open" callback.
Follows the shortest example i could build to show the issue:
however it seems like the _run_callback method of the WebSocketProtocol class in websocket.py doesn't correctly raise the exception when the arguments don't match
I binded a tornado.websocket.WebSocketHandler with a normal route like "/ws" and it works as expected. However when i bind the handler with a regex route like "/nws/(.*)" it doesn't call the "open" callback.
Follows the shortest example i could build to show the issue:
So I run a normal client which fires the following operation:
here the output when the path is /ws
here the output when the path is /nws/abc
The text was updated successfully, but these errors were encountered: