{"action":"created","issue":{"url":"https://api.github.com/repos/google/oauth2client/issues/601","repository_url":"https://api.github.com/repos/google/oauth2client","labels_url":"https://api.github.com/repos/google/oauth2client/issues/601/labels{/name}","comments_url":"https://api.github.com/repos/google/oauth2client/issues/601/comments","events_url":"https://api.github.com/repos/google/oauth2client/issues/601/events","html_url":"https://github.com/google/oauth2client/issues/601","id":170303976,"number":601,"title":"Deprecate allowing http OR http.request in transport.request","user":{"login":"dhermes","id":520669,"avatar_url":"https://avatars.githubusercontent.com/u/520669?v=3","gravatar_id":"","url":"https://api.github.com/users/dhermes","html_url":"https://github.com/dhermes","followers_url":"https://api.github.com/users/dhermes/followers","following_url":"https://api.github.com/users/dhermes/following{/other_user}","gists_url":"https://api.github.com/users/dhermes/gists{/gist_id}","starred_url":"https://api.github.com/users/dhermes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhermes/subscriptions","organizations_url":"https://api.github.com/users/dhermes/orgs","repos_url":"https://api.github.com/users/dhermes/repos","events_url":"https://api.github.com/users/dhermes/events{/privacy}","received_events_url":"https://api.github.com/users/dhermes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/google/oauth2client/milestones/2","html_url":"https://github.com/google/oauth2client/milestones/4.0.0","labels_url":"https://api.github.com/repos/google/oauth2client/milestones/2/labels","id":1908296,"number":2,"title":"4.0.0","description":"","creator":{"login":"jonparrott","id":250995,"avatar_url":"https://avatars.githubusercontent.com/u/250995?v=3","gravatar_id":"","url":"https://api.github.com/users/jonparrott","html_url":"https://github.com/jonparrott","followers_url":"https://api.github.com/users/jonparrott/followers","following_url":"https://api.github.com/users/jonparrott/following{/other_user}","gists_url":"https://api.github.com/users/jonparrott/gists{/gist_id}","starred_url":"https://api.github.com/users/jonparrott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonparrott/subscriptions","organizations_url":"https://api.github.com/users/jonparrott/orgs","repos_url":"https://api.github.com/users/jonparrott/repos","events_url":"https://api.github.com/users/jonparrott/events{/privacy}","received_events_url":"https://api.github.com/users/jonparrott/received_events","type":"User","site_admin":false},"open_issues":15,"closed_issues":12,"state":"open","created_at":"2016-07-27T22:29:57Z","updated_at":"2016-08-10T18:03:34Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2016-08-10T00:45:07Z","updated_at":"2016-08-11T15:21:20Z","closed_at":null,"body":"We [allow][1] `http` OR `http.request` as the first argument to `transport.request` to support callers of non-public methods (e.g. `_refresh` or `_revoke`) that passed `http.request` instead of `http` (from `httplib.Http` objects).\r\n\r\nThis should be more restrictive but we should support both to avoid breakage.\r\n\r\n[1]: https://github.com/google/oauth2client/blob/b1a17432731344d2e44b1ef78ab52f2202bee703/oauth2client/transport.py#L278"},"comment":{"url":"https://api.github.com/repos/google/oauth2client/issues/comments/239194401","html_url":"https://github.com/google/oauth2client/issues/601#issuecomment-239194401","issue_url":"https://api.github.com/repos/google/oauth2client/issues/601","id":239194401,"user":{"login":"dhermes","id":520669,"avatar_url":"https://avatars.githubusercontent.com/u/520669?v=3","gravatar_id":"","url":"https://api.github.com/users/dhermes","html_url":"https://github.com/dhermes","followers_url":"https://api.github.com/users/dhermes/followers","following_url":"https://api.github.com/users/dhermes/following{/other_user}","gists_url":"https://api.github.com/users/dhermes/gists{/gist_id}","starred_url":"https://api.github.com/users/dhermes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhermes/subscriptions","organizations_url":"https://api.github.com/users/dhermes/orgs","repos_url":"https://api.github.com/users/dhermes/repos","events_url":"https://api.github.com/users/dhermes/events{/privacy}","received_events_url":"https://api.github.com/users/dhermes/received_events","type":"User","site_admin":false},"created_at":"2016-08-11T15:21:19Z","updated_at":"2016-08-11T15:21:19Z","body":"Let's discuss on #128. I don't think that will make people happy, unless they can toggle a switch on `oauth2client.transport` to make it use their desired transport under the covers."}}
{"actor":{"display_login":"dhermes"}}