'Send an HTTP request to the resource.
:raises: a :exc:`~twilio.TwilioRestException`'

def request(self, method, uri, **kwargs):

    if (('timeout' not in kwargs) and (self.timeout is not UNSET_TIMEOUT)):
        kwargs['timeout'] = self.timeout
    kwargs['use_json_extension'] = self.use_json_extension
    resp = make_twilio_request(method, uri, auth=self.auth, **kwargs)
    logger.debug(resp.content)
    if (method == 'DELETE'):
        return (resp, {})
    else:
        return (resp, json.loads(resp.content))
