Closed timebug closed 6 years ago
urllib3
UpYunServiceException
stream file object 示例,对一些远程大文件转存的场景比较方便,并且无需进行多余的磁盘缓冲:
res = requests.get("http://httpbin.org/image/jpeg", stream=True) up.put('/test.jpeg', res.raw)
urllib3
库实现,所以,类似的 stream file object 都支持。UpYunServiceException
异常的问题。