code: def send(self, stream=False):
          
          #
          # api request (gracefully handle temporary communications issues with the API)
          #
          try:
              response = self.session.request(
                  self._http_method,
                  self._url,
                  auth=self._basic_auth,
                  data=self._body,
                  files=self._files,
                  headers=self._headers,
                  params=self._payload,
                  stream=stream,
                  timeout=self._timeout,
              )
          except Exception as e:
              err = 'Failed making HTTP request ({}).'.format(e)
              raise RuntimeError(err)
  
          # self.tcex.log.info(u'URL ({}): {}'.format(self._http_method, response.url))
          self.tcex.log.info(u'Status Code: {}'.format(response.status_code))
          return response
docs: Send the HTTP request via Python Requests modules.
  
          This method will send the request to the remote endpoint.  It will try to handle
          temporary communications issues by retrying the request automatically.
  
          Args:
              stream (bool): Boolean to enable stream download.
  
          Returns:
              Requests.Response: The Request response