(self, response_line)
Ensure that we received a HTTP `101` status code in
        response to our request and if not raises :exc:`HandshakeError`.
Ensure that we received a HTTP `101` status code in
        response to our request and if not raises :exc:`HandshakeError`.
Ensure that we received a HTTP 101 status code in response to our request and if not raises : exc : HandshakeError .
def process_response_line(self, response_line):
        """
        Ensure that we received a HTTP `101` status code in
        response to our request and if not raises :exc:`HandshakeError`.
        """
        protocol, code, status = response_line.split(enc(' '), 2)
        if code != enc('101'):
            raise HandshakeError("Invalid response status: %s %s" % (code, status))
def process_response_line ( self , response_line ) : protocol , code , status = response_line . split ( enc ( ' ' ) , 2 ) if code != enc ( '101' ) : raise HandshakeError ( "Invalid response status: %s %s" % ( code , status ) )