def _SendRequest(self, params, connection):
    connection.putrequest('POST', ''.join(urlparse.urlsplit(self._url)[2:]))
    connection.putheader('Content-Type', 'text/plain; charset=utf=8')
    connection.putheader('Transfer-Encoding', 'chunked')
    connection.putheader('Content-Encoding', 'UTF-8')
    connection.endheaders()
    for param in params:
      param.SendTo(connection)
    connection.send('0\r\n\r\n')
Sends a command to an HTTPConnection, chunk-encoded.
dataset/ETHPy150Open google/lab_device_proxy/lab_device_proxy_client.py/LabDeviceProxyClient._SendRequest