From: Max Shytikov Date: Sun, 6 Apr 2014 23:35:52 +0000 (+0200) Subject: Updated default 'match_on' X-Git-Tag: v1.0.0~36^2~45 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=4e9d5f68853f3a33881ff76b42a0e588f2a3a728;p=vcrpy.git Updated default 'match_on' --- diff --git a/vcr/config.py b/vcr/config.py index 4cc335f..657f706 100644 --- a/vcr/config.py +++ b/vcr/config.py @@ -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, }