'Perform a request on a given httplib connection object taken from our
pool.'

def _make_request(self, conn, method, url, timeout=_Default, **httplib_request_kw):

    self.num_requests += 1
    if (timeout is _Default):
        timeout = self.timeout
    conn.timeout = timeout
    conn.request(method, url, **httplib_request_kw)
    sock = getattr(conn, 'sock', False)
    if sock:
        sock.settimeout(timeout)
    try:
        httplib_response = conn.getresponse(buffering=True)
    except TypeError:
        httplib_response = conn.getresponse()
    http_version = getattr(conn, '_http_vsn_str', 'HTTP/?')
    log.debug(('"%s    %s    %s"    %s    %s' % (method, url, http_version, httplib_response.status, httplib_response.length)))
    return httplib_response
