You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some media download APIs does not support partial downloads and do not return a 'Content-length' or 'Content-range' header and is therefore never considered done. This change is to consider responses where the media length is unknown to be done. This commit could potentially break media downloads where the API supports partial download and only returns a 'Content-length' header when the entire file has been served/read. This commit fixes issue #15
<aname="L657"></a><ttclass="py-lineno"> 657</tt><ttclass="py-line"><ttclass="py-docstring"> The value of 'done' will be True when the media has been fully</tt></tt>
<aname="L658"></a><ttclass="py-lineno"> 658</tt><ttclass="py-line"><ttclass="py-docstring"> downloaded or the total size of the media is unknown.</tt></tt>
<aname="L661"></a><ttclass="py-lineno"> 661</tt><ttclass="py-line"><ttclass="py-docstring"> googleapiclient.errors.HttpError if the response was not a 2xx.</tt></tt>
@@ -873,7 +873,7 @@ <h1 class="epydoc">Source Code for <a href="googleapiclient.http-module.html">Mo
0 commit comments