{"action":"opened","issue":{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/488","labels_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/488/labels{/name}","comments_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/488/comments","events_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/488/events","html_url":"https://github.com/chrsmith/google-api-java-client/issues/488","id":59525432,"number":488,"title":"Add GoogleClient.Builder.setEnableGZipContent","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":[{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/Component-HTTP","name":"Component-HTTP","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/Milestone-Version1.10.0","name":"Milestone-Version1.10.0","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/Priority-Critical","name":"Priority-Critical","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/Type-Enhancement","name":"Type-Enhancement","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-02T18:42:49Z","updated_at":"2015-03-02T18:42:49Z","closed_at":null,"body":"```\nExternal references, such as a standards document, or specification?\n\nhttp://javadoc.google-api-java-client.googlecode.com/hg/1.8.0-beta/com/google/ap\ni/client/googleapis/services/GoogleClient.Builder.html\n\nhttp://javadoc.google-http-java-client.googlecode.com/hg/1.8.3-beta/com/google/a\npi/client/http/HttpRequest.html#setEnableGZipContent(boolean)\n\nJava environments (e.g. Java 6, Android 2.3, App Engine, or All)?\n\nAll\n\nPlease describe the feature requested.\n\nThere some special cases where GZip compression is not supported for APIs on \nGoogle infrastructure.  Currently GoogleClient.buildHttpRequest() calls \nhttpRequest.setEnableGZipContent(true).  So without customization this will \nfail in those cases.\n\nYou *can* override the default currently, but it is painful to do and highly \nnon-discoverable: you can set up an HttpRequestInitializer that sets itself as \nthe HttpRequestInterceptor and then that interceptor disables GZip.  If you \nalready have an HttpRequestInitializer it gets more complicated.\n\nA much simpler developer experience would be to add a setEnableGZipContent \nproperty to GoogleClient.Builder.   It would be true by default, but you can \ncall setEnableGZipContent(false) in such special cases.\n```\n\nOriginal issue reported on code.google.com by `yan...@google.com` on 15 May 2012 at 11:15"}}