I wanted to take advantage of Response.iter_content() so that I wouldn't have to load an entire file into memory before writing it to the disk. This wasn't possible before, as _do_request() was returning Response.raw.
Coverage remained the same when pulling eae16d3c63b4eb80079ab752feddfb37acb0ca32 on travcunn:master into 35303c700099e3b3db3b9b06a7337df0f435150f on smartfile:master.
Coverage remained the same when pulling b2b400ce4e024c4951e40fc23891419bba64f87c on travcunn:master into 35303c700099e3b3db3b9b06a7337df0f435150f on smartfile:master.
Coverage increased (+0.73%) when pulling 99105bfe7aefc6344921f97f49fde7d0b0aa6e7a on travcunn:master into 35303c700099e3b3db3b9b06a7337df0f435150f on smartfile:master.
Instead of returning Response.raw, return the Response object, in case we want to do other advanced things with Python Requests, such as those here: http://www.python-requests.org/en/latest/api/#requests.Response
I wanted to take advantage of Response.iter_content() so that I wouldn't have to load an entire file into memory before writing it to the disk. This wasn't possible before, as _do_request() was returning Response.raw.