Skip to content

Commit fd6d885

Browse files
committed
Merge pull request plaid#37 from kevinmickey/kevinmickey-patch-1
Map content to text attr for urlfetch response
2 parents d40e04c + 00c6b5c commit fd6d885

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plaid/http.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ def _urlfetch_http_request(url, method, data):
5252

5353
# Add consistent interface across requests library and urlfetch
5454
res.ok = res.status_code >= 200 and res.status_code < 300
55+
res.text = res.content
5556
return res
5657

5758

0 commit comments

Comments
 (0)