abujehad139 / google-api-dotnet-client

Automatically exported from code.google.com/p/google-api-dotnet-client
Apache License 2.0
0 stars 0 forks source link

ResumableUpload - stream with unknown size #310

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Support ResumableUpload with stream which its size is unknown

When uploading stream with known size each request content-range header is as 
following "bytes from-to/size", e.g.
Content-Range: bytes 0-524287/2000000

When uploading stream with unknown size each request content-range header is as 
following "bytes from-to/*", e.g.
Content-Range: bytes 0-524287/*
and only the last range header contains the size, e.g.
Content-Range: bytes 18000000-1999999/2000000

Original issue reported on code.google.com by pele...@google.com on 10 Apr 2013 at 10:09

GoogleCodeExporter commented 9 years ago
https://codereview.appspot.com/8636044/

Original comment by pele...@google.com on 11 Apr 2013 at 8:07

GoogleCodeExporter commented 9 years ago

Original comment by pele...@google.com on 26 Apr 2013 at 4:42