Phoenixasuga / google-api-java-client

Automatically exported from code.google.com/p/google-api-java-client
0 stars 0 forks source link

Resuming upload to google drive using MediaHttpUploader always failed #551

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Version of google-api-java-client (e.g. 1.5.0-beta)?
 * 1.10.3-beta

Java environment (e.g. Java 6, Android 2.3, App Engine)?
 * Android 4.0 , Java 6

Describe the problem.
 * Resuming upload to google drive using MediaHttpUploader always failed (500 internal server error)

 * Google Drive Team said one should uses "Content-Range: bytes /" header but MediaHttpUploader uses "Content-Range: bytes */2148165" like header.
  - http://stackoverflow.com/questions/11361129/while-resuming-upload-getting-the-size-of-data-that-had-been-uploaded-always-fa
  - com.google.api.client.googleapis.media.MediaHttpUpload - serverErrorCallback() 

Original issue reported on code.google.com by kiheung....@gmail.com on 9 Jul 2012 at 2:17

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 23 Oct 2012 at 10:05

GoogleCodeExporter commented 9 years ago
This has been fixed by a change in the server as reported in:
http://stackoverflow.com/questions/11361129/while-resuming-upload-getting-the-si
ze-of-data-that-had-been-uploaded-always-fa

There was no change made to the client library.

Original comment by rmis...@google.com on 28 Nov 2012 at 2:57