1
0
mirror of https://github.com/kevin1024/vcrpy.git synced 2025-12-08 16:53:23 +00:00

Updated default 'match_on'

This commit is contained in:
Max Shytikov
2014-04-07 01:35:52 +02:00
parent 5015dbd878
commit 4e9d5f6885

View File

@@ -9,7 +9,7 @@ class VCR(object):
serializer='yaml',
cassette_library_dir=None,
record_mode="once",
match_on=['url', 'method'],
match_on=['method', 'host', 'port', 'path', 'query'],
filter_headers=[],
filter_query_parameters=[],
before_record=None,
@@ -25,7 +25,9 @@ class VCR(object):
'method': method,
'url': url,
'host': host,
'port': method,
'path': path,
'query': path,
'headers': headers,
'body': body,
}