New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for gzip media content on resumable media upload #705
Comments
From rmis...@google.com on January 18, 2013 10:27:23 Status: Started |
From rmis...@google.com on January 24, 2013 10:35:28 The problem I am running into is (using example values): Original content length - 10000 Initiation request says x-upload-content-length will be 8000 We start uploading a chunk of 2000 from the original content of 10000. This 1500 is below the minimum chunk length allowed and an exception is thrown. We do not know what chunk size to use to get a gzipped chunk that is equal to the specified chunk size. |
From rmis...@google.com on January 24, 2013 10:44:36 Given the above comment I upped the chunk size to MediaHttpUploader.MINIMUM_CHUNK_SIZE * 2 and calculated the gzipped size of each chunk but I still end up with an IOException: CONFIG: -------------- REQUEST -------------- java.io.IOException: insufficient data written I am not sure what is going on, I expected the above to work. |
From yan...@google.com on January 26, 2013 09:46:27 Doesn't seem worth the effort right now. Cc: -yan...@google.com |
From yan...@google.com on February 06, 2013 16:05:10 Labels: -Milestone-Version2.1.0 Milestone-Version1.16.0 |
From yan...@google.com on June 10, 2013 06:21:16 Status: Accepted |
From pele...@google.com on July 28, 2013 23:10:50 Labels: -Milestone-Version1.17.0 Milestone-Version1.18.0 |
From yan...@google.com on September 27, 2013 05:05:51 Labels: -Milestone-Version1.18.0 |
@JustinBeckwith |
From yan...@google.com on December 20, 2012 08:55:05
External references, such as a standards document, or specification? http://javadoc.google-api-java-client.googlecode.com/hg/1.12.0-beta/com/google/api/client/googleapis/media/MediaHttpUploader.html Java environments (e.g. Java 6, Android 2.3, App Engine, or All)? All Please describe the feature requested. Currently we do not gzip media content chunks on resumable media upload. To be consistent, we should gzip it. In 1.13 we had to disable that functionality because the media content length wasn't being computed correctly. So we should fix that.
Original issue: http://code.google.com/p/google-api-java-client/issues/detail?id=691
The text was updated successfully, but these errors were encountered: