Mehdisouid / google-api-java-client

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

MediaHttpDownloader: add setContentRange #634

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
External references, such as a standards document, or specification?

http://javadoc.google-api-java-client.googlecode.com/hg/1.11.0-beta/com/google/a
pi/client/googleapis/media/MediaHttpDownloader.html

http://tools.ietf.org/html/rfc2616#section-14.35

Java environments (e.g. Java 6, Android 2.3, App Engine, or All)?

All

Please describe the feature requested.

Add something like a setContentRange(int firstBytePos, int lastBytePos) method 
to MediaHttpDownloader to specify the range of bytes to download.  There is 
already a setBytesDownloaded method to specify the minByteIndex, but there is 
no ability to specify the maxByteIndex.

Original issue reported on code.google.com by yan...@google.com on 16 Oct 2012 at 10:00

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

Original comment by rmis...@google.com on 12 Dec 2012 at 2:34

GoogleCodeExporter commented 9 years ago

Original comment by rmis...@google.com on 13 Dec 2012 at 12:30