{"action":"created","issue":{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/215","labels_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/215/labels{/name}","comments_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/215/comments","events_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/215/events","html_url":"https://github.com/chrsmith/google-api-java-client/issues/215","id":59381704,"number":215,"title":"Support for specify HTTP headers on a request","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-Google-APIs","name":"Component-Google-APIs","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/Milestone-CodeGenVersion1.6.0","name":"Milestone-CodeGenVersion1.6.0","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/Priority-High","name":"Priority-High","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/Type-Enhancement","name":"Type-Enhancement","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-01T05:46:56Z","updated_at":"2015-03-01T05:46:58Z","closed_at":"2015-03-01T05:46:57Z","body":"```\nExternal references, such as a standards document, or specification?\n\nhttp://en.wikipedia.org/wiki/HTTP_ETag\nhttp://tools.ietf.org/html/rfc2616#section-14.24\nhttp://tools.ietf.org/html/rfc2616#section-14.26\n\nJava environments (e.g. Java 6, Android 2.3, App Engine 1.4.2, or All)?\n\nAll.\n\nPlease describe the feature requested.\n\nNeed to be able to specify certain HTTP headers on a request like \"If-Match\" or \n\"If-None-Match\" for supporting HTTP ETags.  The simplest solution might be to \nadd a GoogleHeaders field to RemoteRequest.  We can also consider other options.\n```\n\nOriginal issue reported on code.google.com by `yan...@google.com` on 20 May 2011 at 12:54"},"comment":{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/comments/76576372","html_url":"https://github.com/chrsmith/google-api-java-client/issues/215#issuecomment-76576372","issue_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/215","id":76576372,"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},"created_at":"2015-03-01T05:46:57Z","updated_at":"2015-03-01T05:46:57Z","body":"```\nSimilarly, it might be useful to have a GoogleHeaders responseHeaders field in \nthe request object that stores the headers from the most recent request.  \nCurrently we dump those headers in the Feed data class, but seems inelegant \nbecause it mixed HTTP metaphors into what would otherwise be a purely JSON data \nclass.\n\nAlternatively, we could add ETag as a parameter like any other path or query \nparameters, except that its value would actually be sent as an HTTP header.\n```\n\nOriginal comment by `yan...@google.com` on 19 Jan 2012 at 4:12\n* Added labels: **Milestone-CodeGenVersion1.5.0**"}}