docs: def upload_report(server, payload, timeout=HQ_DEFAULT_TIMEOUT):
      """
      Upload a report to the server.
      :param payload: Dictionary (JSON serializable) of crash data.
      :return: server response
      """
      try:
          data = json.dumps(payload)
          r = requests.post(server + '/reports/upload', data=data, timeout=timeout)
      except Exception as e:
          logging.error(e)
          return False
      return r