docs: def request(self, method, uri, **kwargs):
          """
          Send an HTTP request.
  
          :param str method: "POST", "GET", "PUT" or "DELETE"
          :param str uri:    URI to process request.
          :raises :class:`TextmagicRestException`
          """
  
          response = make_tm_request(method, uri, auth=self.auth, **kwargs)
  
          if method == "DELETE" or response.status == 204:
              return response, {}
          else:
              return response, json.loads(response.content.decode("utf-8"))