diff --git a/do_http_get.py b/do_http_get.py index 97613fa..0fd42f6 100644 --- a/do_http_get.py +++ b/do_http_get.py @@ -6,6 +6,6 @@ def do_get(url, access_token): 'Accept': 'application/json', 'Authorization': 'Bearer {0}'.format(access_token)} - response = requests.get(url, params=None, headers=bearer_headers) + response = requests.get(url, params=None, headers=bearer_headers, stream=True) return response