msg += '\r\n'
request.connection.write(msg)
print msg
- raise handshake.AbortedByUserException('Abort the connection') # Prevents pywebsocket from sending its own handshake message.
+ # Prevents pywebsocket from sending its own handshake message.
+ raise handshake.AbortedByUserException('Abort the connection')
def web_socket_transfer_data(request):