--
You received this message because you are subscribed to the Google Groups "circuits" group.
To unsubscribe from this group and stop receiving emails from it, send an email to circuits-user...@googlegroups.com.
To post to this group, send email to circuit...@googlegroups.com.
Visit this group at http://groups.google.com/group/circuits-users.
For more options, visit https://groups.google.com/d/optout.
I've investigated a bit and found out that the problem is caused by "Sec-Websocket-Accept" header value in HTTP "Switching Protocols" message not being decoded to unicode and python casts bytearray to string like b'<str>'. So if
"accept" bytearray in WebSocketsDispatcher._on_request is decoded to unicode(i.e. response.headers["Sec-WebSocket-Accept"] = accept.decode() ) everyting works just fine.
Bug occurs on python 3.4 win7. Can't test other configurations now - maybe tomorrow.