1
0
mirror of https://github.com/kevin1024/vcrpy.git synced 2025-12-09 01:03:24 +00:00

getheader() in stubs should be case-insensitive

This commit is contained in:
Kevin McCarthy
2014-08-01 16:25:59 -10:00
parent a23c5d8508
commit 9a1147196a
3 changed files with 32 additions and 2 deletions

View File

@@ -145,3 +145,7 @@ def test_session_and_connection_close(tmpdir, scheme):
resp = session.get('http://httpbin.org/get', headers={'Connection': 'close'})
resp = session.get('http://httpbin.org/get', headers={'Connection': 'close'})
def test_https_with_cert_validation_disabled(tmpdir):
with vcr.use_cassette(str(tmpdir.join('cert_validation_disabled.yaml'))):
requests.get('https://httpbin.org', verify=False)