def has_header(headers, name):
    name = name.lower()
    for header, value in headers:
        if header.lower() == name:
            return True
    return False
Getting a connection should block for until available.
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Paste-2.0.1/paste/response.py/has_header--crossover with--dataset/ETHPy150Open wrongwaycn/ssdb-py/tests/test_connection_pool.py/TestBlockingConnectionPoolCase.test_max_connections_blocks