1
0
mirror of https://github.com/kevin1024/vcrpy.git synced 2025-12-10 17:45:35 +00:00

Cassettes now store multiple requests

This commit is contained in:
Kevin McCarthy
2012-06-30 15:10:20 -10:00
parent 66e7ce9572
commit 2576878f2e
6 changed files with 59 additions and 17 deletions

View File

@@ -42,8 +42,8 @@ Ruby's VCR are not compatible with VCR.py. The API is similar but VCR.py
doesn't have nearly as many features.
##Known Issues
* Only works with the first HTTP request made in each use_cassette block. That's because I haven't gotten around to implementing multiple requests yet. This means anything that does a 301 / 302 won't work.
* Probably only works with urllib2. Hey, doesn't [requests](http://docs.python-requests.org/en/latest/index.html) use urllib2? Maybe that works too then.
* Loading urls that do a 301/302 redirect don't work
##Similar libraries in Python
Neither of these really implement the API I want, but I have cribbed some code