def initiate_upgrade_connection(self, headers: Headers, path: str) -> None:
    'Initiate an upgrade connection.\n\n        This should be used if the request has already be received and\n        parsed.\n\n        :param list headers: HTTP headers represented as a list of 2-tuples.\n        :param str path: A URL path.\n        '
    if self.client:
        raise LocalProtocolError('Cannot initiate an upgrade connection when acting as the client')
    upgrade_request = h11.Request(method=b'GET', target=path, headers=headers)
    h11_client = h11.Connection(h11.CLIENT)
    self.receive_data(h11_client.send(upgrade_request))
Initiate an upgrade connection.

This should be used if the request has already be received and
parsed.

:param list headers: HTTP headers represented as a list of 2-tuples.
:param str path: A URL path.
def initiate_upgrade_connection(self, headers: Headers, path: str) -> None:
    'Initiate an upgrade connection.\n\n        This should be used if the request has already be received and\n        parsed.\n\n        :param list headers: HTTP headers represented as a list of 2-tuples.\n        :param str path: A URL path.\n        '
    if self.client:
        raise LocalProtocolError('Cannot initiate an upgrade connection when acting as the client')
    upgrade_request = h11.Request(method=b'GET', target=path, headers=headers)
    h11_client = h11.Connection(h11.CLIENT)
    self.receive_data(h11_client.send(upgrade_request))