'Prepare the kwargs for an HTTP request by inserting the timeout
parameter, if not already present.'

def _set_request_timeout(self, kwargs):

    kwargs.setdefault('timeout', self.timeout)
    return kwargs
