I use flutter and some tokens that come from flutter IOWebSocketChannel.connect are empty string.
def _opening_handshake(self, client, data):
...
for token in tokens[1:]:
label, value = token.split(": ", 1)
...
this code causes an exception. a token can be empty.