def do_POST(self):  # pylint: disable=g-bad-name
    params = []
    tmp_fs = TempFileSystem()

    timestamps = [('', time.time())]  # Never printed, only subtracted
    try:
      on_error = httplib.BAD_REQUEST
      while self._ReadChunk(self.rfile, params, tmp_fs):
        pass

      on_error = httplib.FORBIDDEN
      self._ValidateCommand(params)

      on_error = httplib.INTERNAL_SERVER_ERROR
      self._BeginResponse()
      on_error = None  # Sent our response status code

      timestamps.append(('req', time.time()))

      args = [str(curr.value) for curr in params]
      if IDEVICE_PATH in os.environ:
        args[0] = os.environ[IDEVICE_PATH] + '/' + args[0]

      self._RunCommand(args, self.rfile, self.wfile)
      timestamps.append(('cmd', time.time()))

      self._WriteChunks(params, self.wfile)
    except Exception, e:  # pylint: disable=broad-except
      timestamps.append(('err', time.time()))
      args = [str(curr.value) for curr in params]
      self.log_message('Failed: %s\n%s', ' '.join(args), lab_common.GetStack())
      if on_error is not None:
        self.send_error(on_error, str(e))
    finally:
      tmp_fs.Cleanup()
      timestamps.append(('resp', time.time()))

      timings = ' '.join(
          ['%s: %.1f' % (name, (timestamp - timestamps[i - 1][1]))
           for i, (name, timestamp) in enumerate(timestamps) if i > 0])
      self.log_message('(%s) %s', timings, ' '.join(args))
Create an edge from this node to the other node. No
dataset/ETHPy150Open google/lab_device_proxy/lab_device_proxy_server.py/LabDeviceProxyRequestHandler.do_POST--crossover with--dataset/ETHPy150Open thasso/pyjip/jip/pipelines.py/Node.__rshift__