code: def __send_request(self, method, url, params=None):
      connection = http.client.HTTPSConnection(self.__SERVICE_ADDRESS)
  
      attempt_counter = 0
      response_status, response_content = None, None
  
      while (
          (response_status is None)
          or ((response_status >= 500) and (response_status < 600))
      ) and (attempt_counter < self.__REQUEST_ATTEMPTS):
          url_complete = url
          url_params = params or {}
          for key, value in url_params.items():
              url_complete += "?%s=%s" % (str(key), str(value))
  
          connection.request(
              method,
              url_complete,
              headers={"Authorization": "OAuth " + self.__token},
          )
  
          response = connection.getresponse()
  
          response_status = response.status
          response_content = response.read().decode("utf-8")
  
          attempt_counter += 1
  
      connection.close()
      return response_status, response_content
  
file_path: pyclustering/ci/cloud/cloud/yandex_disk.py
imports: import http.client
  import json
  import os.path
  import urllib.request
  from urllib.parse import urlparse
label_desc: Use image node_id 12 for calling the yandex_disk obj's underlying member method code with example usage: obj.__send_request(method, url, params) and returns: response_status,  response_content