sending message with missing keys causes all future responses to return error
Closed this issue · 0 comments
edwindotcom commented
here's my session
> python wsdump.py ws://localhost:80/ws
> {"messageType": "hello", "uaid":"uaid", "channelIDs":["abc"]}
< {"messageType":"hello","status":200,"uaid":"uaid"}
< {"expired":null,"messageType":"notification","updates":[{"channelID":"edog","version":"1370906362"}]}
> {"messageType": "hello", "uaid":"uaid"}
< {"error":"Invalid command","messageType":"hello","status":401,"uaid":"uaid"}
> {"messageType": "hello", "uaid":"uaid", "channelIDs":["abc"]}
< {"channelIDs":["abc"],"error":"Invalid command","messageType":"hello","status":401,"uaid":"uaid"}