'Issue a new request, given the endpoint and the path sent as part of
the request.'

def _requestWithEndpoint(self, key, endpoint, method, parsedURI, headers, bodyProducer, requestPath):

    if (headers is None):
        headers = Headers()
    if (not headers.hasHeader('host')):
        headers = headers.copy()
        headers.addRawHeader('host', self._computeHostValue(parsedURI.scheme, parsedURI.host, parsedURI.port))
    d = self._pool.getConnection(key, endpoint)
    def cbConnected(proto):
        return proto.request(Request._construct(method, requestPath, headers, bodyProducer, persistent=self._pool.persistent, parsedURI=parsedURI))
    d.addCallback(cbConnected)
    return d
