def test_headers(scheme, tmpdir):
    url = scheme + '://httpbin.org/'
    with vcr.use_cassette(str(tmpdir.join('headers.yaml'))):
        headers = requests.get(url).headers

    with vcr.use_cassette(str(tmpdir.join('headers.yaml'))):
        assert headers == requests.get(url).headers
Ensure that we can read the headers back
dataset/ETHPy150Open kevin1024/vcrpy/tests/integration/test_requests.py/test_headers