Made the changes from http://codereview.appspot.com/6463064/ and http://codereview.appspot.com/6458156/ in 1.10.3 branch and mvn installed it locally. ...
11 years, 8 months ago
(2012-08-22 16:38:06 UTC)
#2
Made the changes from
http://codereview.appspot.com/6463064/
and
http://codereview.appspot.com/6458156/
in 1.10.3 branch and mvn installed it locally.
Then I ran the drive sample here (with no upload metadata):
http://codereview.appspot.com/6196046/
Got the following request and 411 in response:
ONFIG: -------------- REQUEST --------------
POST https://www.googleapis.com/upload/drive/v2/files?uploadType=resumable
Accept-Encoding: gzip
Authorization: <Not Logged>
User-Agent: Google-HTTP-Java-Client/1.10.3-beta (gzip)
X-Upload-Content-Length: 804599
X-Upload-Content-Type: image/jpeg
Aug 22, 2012 12:34:13 PM com.google.api.client.http.HttpResponse <init>
CONFIG: -------------- RESPONSE --------------
HTTP/1.0 411 Length Required
Date: Wed, 22 Aug 2012 16:34:13 GMT
Content-Length: 934
Content-Type: text/html; charset=UTF-8
Server: GFE/2.0
Issue 6458156: [api] changed to support http issue 115
(Closed)
Created 11 years, 8 months ago by yanivi
Modified 11 years, 8 months ago
Reviewers: rmistry
Base URL: https://google-api-java-client.googlecode.com/hg/
Comments: 0