{"action":"opened","issue":{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/133","labels_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/133/labels{/name}","comments_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/133/comments","events_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/133/events","html_url":"https://github.com/chrsmith/google-api-java-client/issues/133","id":59363866,"number":133,"title":"httpresponse content legth=305,but content is null","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-28T22:56:13Z","updated_at":"2015-02-28T22:56:13Z","closed_at":null,"body":"```\nVersion of google-api-java-client (e.g. 1.3.1-alpha)?\n1.3.1-alpha\n\nJava environment (e.g. Java 6, Android 2.3, App Engine 1.4.2)?\n\njava 6\nDescribe the problem.\nI use 1.3.1 to login google storage. the code like this :\n\n        try {\n               HttpResponse response = request.execute();\n\t    \t\n\t        System.out.println(response.parseAsString());\n\t    }catch (HttpResponseException e){\n\t    \t//xmlhttpparser\n\t    \tXmlHttpParser parser = new XmlHttpParser();\n\t    \tparser.contentType=\"application/xml\";\n\t        parser.namespaceDictionary = new XmlNamespaceDictionary();\n\t        ErrorStatusCode err=parser.parse(e.response, ErrorStatusCode.class);\n\t    \tSystem.out.println(err.toString());\n\nrequest is :\n\nGET http://commondatastorage.googleapis.com/ HTTP/1.1\nAccept-Encoding: gzip\nAuthorization: GOOG1 GOOGJXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\nDate: Mon, 28-Feb-2011 08:01:06 GMT+00:00\nUser-Agent: Google-API-Java-Client/1.3.1-alpha\nCache-Control: no-cache\nPragma: no-cache\nHost: commondatastorage.googleapis.com\nAccept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2\nProxy-Connection: keep-alive\n\nresponse is \n\nHTTP/1.0 403 Forbidden\nContent-Length: 305\nX-Xss-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\nExpires: Mon, 28 Feb 2011 07:56:18 GMT\nServer: GSE\nConnection: close\nCache-Control: private, max-age=0\nDate: Mon, 28 Feb 2011 07:56:18 GMT\nX-Frame-Options: SAMEORIGIN\nContent-Type: application/xml; charset=UTF-8\n\n<?xml version='1.0' \nencoding='UTF-8'?><Error><Code>SignatureDoesNotMatch</Code><Message>The request \nsignature we calculated does not match the signature you provided. Check your \nGoogle secret key and signing method.</Message><StringToSign>GET\n\n\nMon, 28-Feb-2011 08:01:06 GMT+00:00\n/</StringToSign></Error>\n\nbut in debug:\ne.response.contentLength\t=305\t\ne.response.content=\tnull\t\n\n\n\n\n\n```\n\nOriginal issue reported on code.google.com by `zcmk...@gmail.com` on 28 Feb 2011 at 8:01"}}