{"action":"closed","number":3,"pull_request":{"url":"https://api.github.com/repos/genesluder/python-apns/pulls/3","id":97391111,"html_url":"https://github.com/genesluder/python-apns/pull/3","diff_url":"https://github.com/genesluder/python-apns/pull/3.diff","patch_url":"https://github.com/genesluder/python-apns/pull/3.patch","issue_url":"https://api.github.com/repos/genesluder/python-apns/issues/3","number":3,"state":"closed","locked":false,"title":"force HTTP20Connection, allow for forcing of protocol (for python 2.7)","user":{"login":"d-ross","id":1315680,"avatar_url":"https://avatars.githubusercontent.com/u/1315680?v=3","gravatar_id":"","url":"https://api.github.com/users/d-ross","html_url":"https://github.com/d-ross","followers_url":"https://api.github.com/users/d-ross/followers","following_url":"https://api.github.com/users/d-ross/following{/other_user}","gists_url":"https://api.github.com/users/d-ross/gists{/gist_id}","starred_url":"https://api.github.com/users/d-ross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d-ross/subscriptions","organizations_url":"https://api.github.com/users/d-ross/orgs","repos_url":"https://api.github.com/users/d-ross/repos","events_url":"https://api.github.com/users/d-ross/events{/privacy}","received_events_url":"https://api.github.com/users/d-ross/received_events","type":"User","site_admin":false},"body":"I wanted to use this library (thank you for putting it together) in a Python 2.7 environment, but I was getting a ConnectionReset from hyper (http://gobiko.com/blog/connection-reset-error-hyper-debian-jessie/). However, in my case OpenSSL wasn't the culprit - it was along the lines of this hyper issue:\r\nhttps://github.com/Lukasa/hyper/issues/213\r\n\r\nThe fix was simply to force the protocol over to 'h2' (and use the `HTTP20Connection` class) - which seems OK here since APNs doesn't support anything else. Basically this is just exposing the `force_proto` hyper setting to your library.","created_at":"2016-12-09T22:23:56Z","updated_at":"2016-12-10T16:04:46Z","closed_at":"2016-12-10T16:04:46Z","merged_at":"2016-12-10T16:04:46Z","merge_commit_sha":"06c39bf9ddf56ec43046dbae99df17f17cbb149b","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/genesluder/python-apns/pulls/3/commits","review_comments_url":"https://api.github.com/repos/genesluder/python-apns/pulls/3/comments","review_comment_url":"https://api.github.com/repos/genesluder/python-apns/pulls/comments{/number}","comments_url":"https://api.github.com/repos/genesluder/python-apns/issues/3/comments","statuses_url":"https://api.github.com/repos/genesluder/python-apns/statuses/0f543b773c25b1a1d817f5f681912ed3c9c2ca35","head":{"label":"twistle:master","ref":"master","sha":"0f543b773c25b1a1d817f5f681912ed3c9c2ca35","user":{"login":"twistle","id":1311827,"avatar_url":"https://avatars.githubusercontent.com/u/1311827?v=3","gravatar_id":"","url":"https://api.github.com/users/twistle","html_url":"https://github.com/twistle","followers_url":"https://api.github.com/users/twistle/followers","following_url":"https://api.github.com/users/twistle/following{/other_user}","gists_url":"https://api.github.com/users/twistle/gists{/gist_id}","starred_url":"https://api.github.com/users/twistle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twistle/subscriptions","organizations_url":"https://api.github.com/users/twistle/orgs","repos_url":"https://api.github.com/users/twistle/repos","events_url":"https://api.github.com/users/twistle/events{/privacy}","received_events_url":"https://api.github.com/users/twistle/received_events","type":"Organization","site_admin":false},"repo":{"id":76070560,"name":"python-apns","full_name":"twistle/python-apns","owner":{"login":"twistle","id":1311827,"avatar_url":"https://avatars.githubusercontent.com/u/1311827?v=3","gravatar_id":"","url":"https://api.github.com/users/twistle","html_url":"https://github.com/twistle","followers_url":"https://api.github.com/users/twistle/followers","following_url":"https://api.github.com/users/twistle/following{/other_user}","gists_url":"https://api.github.com/users/twistle/gists{/gist_id}","starred_url":"https://api.github.com/users/twistle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twistle/subscriptions","organizations_url":"https://api.github.com/users/twistle/orgs","repos_url":"https://api.github.com/users/twistle/repos","events_url":"https://api.github.com/users/twistle/events{/privacy}","received_events_url":"https://api.github.com/users/twistle/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/twistle/python-apns","description":"A library for interacting with APNs using HTTP/2 and token-based authentication.","fork":true,"url":"https://api.github.com/repos/twistle/python-apns","forks_url":"https://api.github.com/repos/twistle/python-apns/forks","keys_url":"https://api.github.com/repos/twistle/python-apns/keys{/key_id}","collaborators_url":"https://api.github.com/repos/twistle/python-apns/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/twistle/python-apns/teams","hooks_url":"https://api.github.com/repos/twistle/python-apns/hooks","issue_events_url":"https://api.github.com/repos/twistle/python-apns/issues/events{/number}","events_url":"https://api.github.com/repos/twistle/python-apns/events","assignees_url":"https://api.github.com/repos/twistle/python-apns/assignees{/user}","branches_url":"https://api.github.com/repos/twistle/python-apns/branches{/branch}","tags_url":"https://api.github.com/repos/twistle/python-apns/tags","blobs_url":"https://api.github.com/repos/twistle/python-apns/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/twistle/python-apns/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/twistle/python-apns/git/refs{/sha}","trees_url":"https://api.github.com/repos/twistle/python-apns/git/trees{/sha}","statuses_url":"https://api.github.com/repos/twistle/python-apns/statuses/{sha}","languages_url":"https://api.github.com/repos/twistle/python-apns/languages","stargazers_url":"https://api.github.com/repos/twistle/python-apns/stargazers","contributors_url":"https://api.github.com/repos/twistle/python-apns/contributors","subscribers_url":"https://api.github.com/repos/twistle/python-apns/subscribers","subscription_url":"https://api.github.com/repos/twistle/python-apns/subscription","commits_url":"https://api.github.com/repos/twistle/python-apns/commits{/sha}","git_commits_url":"https://api.github.com/repos/twistle/python-apns/git/commits{/sha}","comments_url":"https://api.github.com/repos/twistle/python-apns/comments{/number}","issue_comment_url":"https://api.github.com/repos/twistle/python-apns/issues/comments{/number}","contents_url":"https://api.github.com/repos/twistle/python-apns/contents/{+path}","compare_url":"https://api.github.com/repos/twistle/python-apns/compare/{base}...{head}","merges_url":"https://api.github.com/repos/twistle/python-apns/merges","archive_url":"https://api.github.com/repos/twistle/python-apns/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/twistle/python-apns/downloads","issues_url":"https://api.github.com/repos/twistle/python-apns/issues{/number}","pulls_url":"https://api.github.com/repos/twistle/python-apns/pulls{/number}","milestones_url":"https://api.github.com/repos/twistle/python-apns/milestones{/number}","notifications_url":"https://api.github.com/repos/twistle/python-apns/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/twistle/python-apns/labels{/name}","releases_url":"https://api.github.com/repos/twistle/python-apns/releases{/id}","deployments_url":"https://api.github.com/repos/twistle/python-apns/deployments","created_at":"2016-12-09T21:10:32Z","updated_at":"2016-12-09T21:10:33Z","pushed_at":"2016-12-09T21:29:59Z","git_url":"git://github.com/twistle/python-apns.git","ssh_url":"git@github.com:twistle/python-apns.git","clone_url":"https://github.com/twistle/python-apns.git","svn_url":"https://github.com/twistle/python-apns","homepage":null,"size":9,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"genesluder:master","ref":"master","sha":"cad998e5cfd217ee968e60686dcc8771a7de72b6","user":{"login":"genesluder","id":366614,"avatar_url":"https://avatars.githubusercontent.com/u/366614?v=3","gravatar_id":"","url":"https://api.github.com/users/genesluder","html_url":"https://github.com/genesluder","followers_url":"https://api.github.com/users/genesluder/followers","following_url":"https://api.github.com/users/genesluder/following{/other_user}","gists_url":"https://api.github.com/users/genesluder/gists{/gist_id}","starred_url":"https://api.github.com/users/genesluder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/genesluder/subscriptions","organizations_url":"https://api.github.com/users/genesluder/orgs","repos_url":"https://api.github.com/users/genesluder/repos","events_url":"https://api.github.com/users/genesluder/events{/privacy}","received_events_url":"https://api.github.com/users/genesluder/received_events","type":"User","site_admin":false},"repo":{"id":75433157,"name":"python-apns","full_name":"genesluder/python-apns","owner":{"login":"genesluder","id":366614,"avatar_url":"https://avatars.githubusercontent.com/u/366614?v=3","gravatar_id":"","url":"https://api.github.com/users/genesluder","html_url":"https://github.com/genesluder","followers_url":"https://api.github.com/users/genesluder/followers","following_url":"https://api.github.com/users/genesluder/following{/other_user}","gists_url":"https://api.github.com/users/genesluder/gists{/gist_id}","starred_url":"https://api.github.com/users/genesluder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/genesluder/subscriptions","organizations_url":"https://api.github.com/users/genesluder/orgs","repos_url":"https://api.github.com/users/genesluder/repos","events_url":"https://api.github.com/users/genesluder/events{/privacy}","received_events_url":"https://api.github.com/users/genesluder/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/genesluder/python-apns","description":"A library for interacting with APNs using HTTP/2 and token-based authentication.","fork":false,"url":"https://api.github.com/repos/genesluder/python-apns","forks_url":"https://api.github.com/repos/genesluder/python-apns/forks","keys_url":"https://api.github.com/repos/genesluder/python-apns/keys{/key_id}","collaborators_url":"https://api.github.com/repos/genesluder/python-apns/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/genesluder/python-apns/teams","hooks_url":"https://api.github.com/repos/genesluder/python-apns/hooks","issue_events_url":"https://api.github.com/repos/genesluder/python-apns/issues/events{/number}","events_url":"https://api.github.com/repos/genesluder/python-apns/events","assignees_url":"https://api.github.com/repos/genesluder/python-apns/assignees{/user}","branches_url":"https://api.github.com/repos/genesluder/python-apns/branches{/branch}","tags_url":"https://api.github.com/repos/genesluder/python-apns/tags","blobs_url":"https://api.github.com/repos/genesluder/python-apns/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/genesluder/python-apns/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/genesluder/python-apns/git/refs{/sha}","trees_url":"https://api.github.com/repos/genesluder/python-apns/git/trees{/sha}","statuses_url":"https://api.github.com/repos/genesluder/python-apns/statuses/{sha}","languages_url":"https://api.github.com/repos/genesluder/python-apns/languages","stargazers_url":"https://api.github.com/repos/genesluder/python-apns/stargazers","contributors_url":"https://api.github.com/repos/genesluder/python-apns/contributors","subscribers_url":"https://api.github.com/repos/genesluder/python-apns/subscribers","subscription_url":"https://api.github.com/repos/genesluder/python-apns/subscription","commits_url":"https://api.github.com/repos/genesluder/python-apns/commits{/sha}","git_commits_url":"https://api.github.com/repos/genesluder/python-apns/git/commits{/sha}","comments_url":"https://api.github.com/repos/genesluder/python-apns/comments{/number}","issue_comment_url":"https://api.github.com/repos/genesluder/python-apns/issues/comments{/number}","contents_url":"https://api.github.com/repos/genesluder/python-apns/contents/{+path}","compare_url":"https://api.github.com/repos/genesluder/python-apns/compare/{base}...{head}","merges_url":"https://api.github.com/repos/genesluder/python-apns/merges","archive_url":"https://api.github.com/repos/genesluder/python-apns/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/genesluder/python-apns/downloads","issues_url":"https://api.github.com/repos/genesluder/python-apns/issues{/number}","pulls_url":"https://api.github.com/repos/genesluder/python-apns/pulls{/number}","milestones_url":"https://api.github.com/repos/genesluder/python-apns/milestones{/number}","notifications_url":"https://api.github.com/repos/genesluder/python-apns/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/genesluder/python-apns/labels{/name}","releases_url":"https://api.github.com/repos/genesluder/python-apns/releases{/id}","deployments_url":"https://api.github.com/repos/genesluder/python-apns/deployments","created_at":"2016-12-02T21:41:22Z","updated_at":"2016-12-07T11:50:11Z","pushed_at":"2016-12-10T16:04:46Z","git_url":"git://github.com/genesluder/python-apns.git","ssh_url":"git@github.com:genesluder/python-apns.git","clone_url":"https://github.com/genesluder/python-apns.git","svn_url":"https://github.com/genesluder/python-apns","homepage":null,"size":10,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/genesluder/python-apns/pulls/3"},"html":{"href":"https://github.com/genesluder/python-apns/pull/3"},"issue":{"href":"https://api.github.com/repos/genesluder/python-apns/issues/3"},"comments":{"href":"https://api.github.com/repos/genesluder/python-apns/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/genesluder/python-apns/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/genesluder/python-apns/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/genesluder/python-apns/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/genesluder/python-apns/statuses/0f543b773c25b1a1d817f5f681912ed3c9c2ca35"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"genesluder","id":366614,"avatar_url":"https://avatars.githubusercontent.com/u/366614?v=3","gravatar_id":"","url":"https://api.github.com/users/genesluder","html_url":"https://github.com/genesluder","followers_url":"https://api.github.com/users/genesluder/followers","following_url":"https://api.github.com/users/genesluder/following{/other_user}","gists_url":"https://api.github.com/users/genesluder/gists{/gist_id}","starred_url":"https://api.github.com/users/genesluder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/genesluder/subscriptions","organizations_url":"https://api.github.com/users/genesluder/orgs","repos_url":"https://api.github.com/users/genesluder/repos","events_url":"https://api.github.com/users/genesluder/events{/privacy}","received_events_url":"https://api.github.com/users/genesluder/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":15,"deletions":3,"changed_files":2}}
{"actor":{"display_login":"genesluder"}}