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

Fix Tornado support behavior for Tornado 3.

Resolves #235.
This commit is contained in:
Abhinav Gupta
2015-12-19 18:18:20 -08:00
parent 31c358c035
commit d780bc04dd
4 changed files with 55 additions and 25 deletions

View File

@@ -23,7 +23,7 @@ def vcr_fetch_impl(cassette, real_fetch_impl):
# yet supported.
unsupported_call = (
request.body_producer is not None or
getattr(request, 'body_producer', None) is not None or
request.header_callback is not None or
request.streaming_callback is not None
)