1
0
mirror of https://github.com/kevin1024/vcrpy.git synced 2025-12-08 16:53:23 +00:00

change response format

This commit is contained in:
Kevin McCarthy
2014-05-03 19:54:00 -10:00
parent 1f99ede46f
commit a65da12aeb
2 changed files with 8 additions and 7 deletions

View File

@@ -2,13 +2,13 @@ import six
def convert_to_bytes(resp):
resp = convert_headers_to_bytes(resp)
#resp = convert_headers_to_bytes(resp)
resp = convert_body_to_bytes(resp)
return resp
def convert_to_unicode(resp):
resp = convert_headers_to_unicode(resp)
#resp = convert_headers_to_unicode(resp)
resp = convert_body_to_unicode(resp)
return resp