Closed monhz closed 8 years ago
when we using requests>=2.9.0 to PUT an empty file, the headers[Transfer-Encoding] will be forced set to chunked, which is not support on "upyun.com". We have to make some ugly change to compatible the newest requests version.
requests>=2.9.0
headers[Transfer-Encoding]
chunked
when we using
requests>=2.9.0
to PUT an empty file, theheaders[Transfer-Encoding]
will be forced set tochunked
, which is not support on "upyun.com". We have to make some ugly change to compatible the newest requests version.