luongbs94 / google-api-java-client

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

Support direct media upload in AbstractGoogleClientRequest.buildHttpRequest #659

Open GoogleCodeExporter opened 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.12.0-beta/com/google/a
pi/client/googleapis/services/AbstractGoogleClientRequest.html#buildHttpRequest(
)

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

All

Please describe the feature requested.

Currently we throw an exception in buildHttpRequest() if uploader == null.  
That's because there isn't just a single request for resumable media upload.  
However, for direct media upload this should be possible, so for that case we 
should fully allow buildHttpRequest().

Note: one question is whether batching direct media upload requests actually 
works.  If so, then fixing this would have the benefit of allowing batching 
such requests.  If not, then we would need to explicitly check for this case 
inside the queue method.

Original issue reported on code.google.com by yan...@google.com on 15 Nov 2012 at 3:01

GoogleCodeExporter commented 9 years ago

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

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 19 Jan 2013 at 8:16

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 7 Feb 2013 at 12:05

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 10 Jun 2013 at 1:27

GoogleCodeExporter commented 9 years ago

Original comment by pele...@google.com on 29 Jul 2013 at 6:10

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 27 Sep 2013 at 12:04