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

allow filtering by response

This commit is contained in:
Ivan Malison
2016-01-11 15:53:04 -08:00
parent 8d5993eced
commit 99d4150df8
2 changed files with 17 additions and 0 deletions

View File

@@ -211,6 +211,8 @@ class Cassette(object):
if not request:
return
response = self._before_record_response(response)
if response is None:
return
self.data.append((request, response))
self.dirty = True