venmo / DVR

Network testing for Swift
http://blog.soff.es/network-testing-in-swift-with-dvr
MIT License
651 stars 86 forks source link

Automatic redacting #39

Open soffes opened 8 years ago

soffes commented 8 years ago

I know VCR does this. We should copy them. Manually redacting cassettes is pretty tedious.

Travmatth commented 8 years ago

@soffes I'd be interested in implementing this functionality, can you elaborate upon what you're looking to have redacted?

tjprescott commented 3 years ago

I have a PR in my fork of this that adds this functionality, based on VCR.py. https://github.com/tjprescott/DVR/pull/5

It allows you to specify header, query or post body filters (though I haven't implemented POST body) which can be of three types: