{"action":"closed","number":44,"pull_request":{"url":"https://api.github.com/repos/invisibleroads/socketIO-client/pulls/44","id":12903643,"html_url":"https://github.com/invisibleroads/socketIO-client/pull/44","diff_url":"https://github.com/invisibleroads/socketIO-client/pull/44.diff","patch_url":"https://github.com/invisibleroads/socketIO-client/pull/44.patch","issue_url":"https://api.github.com/repos/invisibleroads/socketIO-client/issues/44","number":44,"state":"closed","locked":false,"title":"Use HTTP headers for Websocket connection","user":{"login":"fredericsureau","id":941845,"avatar_url":"https://avatars.githubusercontent.com/u/941845?v=3","gravatar_id":"","url":"https://api.github.com/users/fredericsureau","html_url":"https://github.com/fredericsureau","followers_url":"https://api.github.com/users/fredericsureau/followers","following_url":"https://api.github.com/users/fredericsureau/following{/other_user}","gists_url":"https://api.github.com/users/fredericsureau/gists{/gist_id}","starred_url":"https://api.github.com/users/fredericsureau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fredericsureau/subscriptions","organizations_url":"https://api.github.com/users/fredericsureau/orgs","repos_url":"https://api.github.com/users/fredericsureau/repos","events_url":"https://api.github.com/users/fredericsureau/events{/privacy}","received_events_url":"https://api.github.com/users/fredericsureau/received_events","type":"User","site_admin":false},"body":"Websocket connection does not currently make use of the kwargs provided in SocketIO constructor (cookies, etc.). This makes cookie-based authentication impossible for example.\r\n\r\nA solution is to create a fake request to resolve headers.","created_at":"2014-02-25T14:06:11Z","updated_at":"2015-02-15T13:56:31Z","closed_at":"2015-02-15T13:56:31Z","merged_at":"2015-02-15T13:56:31Z","merge_commit_sha":"1488dd36ab2ee380898b6684e6d1226b69bf1d4a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/invisibleroads/socketIO-client/pulls/44/commits","review_comments_url":"https://api.github.com/repos/invisibleroads/socketIO-client/pulls/44/comments","review_comment_url":"https://api.github.com/repos/invisibleroads/socketIO-client/pulls/comments/{number}","comments_url":"https://api.github.com/repos/invisibleroads/socketIO-client/issues/44/comments","statuses_url":"https://api.github.com/repos/invisibleroads/socketIO-client/statuses/c82a8301bbea43e729375bea8d0cdfba25c40c57","head":{"label":"Vodalys:websocket_headers","ref":"websocket_headers","sha":"c82a8301bbea43e729375bea8d0cdfba25c40c57","user":{"login":"Vodalys","id":3844287,"avatar_url":"https://avatars.githubusercontent.com/u/3844287?v=3","gravatar_id":"","url":"https://api.github.com/users/Vodalys","html_url":"https://github.com/Vodalys","followers_url":"https://api.github.com/users/Vodalys/followers","following_url":"https://api.github.com/users/Vodalys/following{/other_user}","gists_url":"https://api.github.com/users/Vodalys/gists{/gist_id}","starred_url":"https://api.github.com/users/Vodalys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vodalys/subscriptions","organizations_url":"https://api.github.com/users/Vodalys/orgs","repos_url":"https://api.github.com/users/Vodalys/repos","events_url":"https://api.github.com/users/Vodalys/events{/privacy}","received_events_url":"https://api.github.com/users/Vodalys/received_events","type":"Organization","site_admin":false},"repo":{"id":14590587,"name":"socketIO-client","full_name":"Vodalys/socketIO-client","owner":{"login":"Vodalys","id":3844287,"avatar_url":"https://avatars.githubusercontent.com/u/3844287?v=3","gravatar_id":"","url":"https://api.github.com/users/Vodalys","html_url":"https://github.com/Vodalys","followers_url":"https://api.github.com/users/Vodalys/followers","following_url":"https://api.github.com/users/Vodalys/following{/other_user}","gists_url":"https://api.github.com/users/Vodalys/gists{/gist_id}","starred_url":"https://api.github.com/users/Vodalys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vodalys/subscriptions","organizations_url":"https://api.github.com/users/Vodalys/orgs","repos_url":"https://api.github.com/users/Vodalys/repos","events_url":"https://api.github.com/users/Vodalys/events{/privacy}","received_events_url":"https://api.github.com/users/Vodalys/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Vodalys/socketIO-client","description":"A socket.io client library for Python","fork":true,"url":"https://api.github.com/repos/Vodalys/socketIO-client","forks_url":"https://api.github.com/repos/Vodalys/socketIO-client/forks","keys_url":"https://api.github.com/repos/Vodalys/socketIO-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Vodalys/socketIO-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Vodalys/socketIO-client/teams","hooks_url":"https://api.github.com/repos/Vodalys/socketIO-client/hooks","issue_events_url":"https://api.github.com/repos/Vodalys/socketIO-client/issues/events{/number}","events_url":"https://api.github.com/repos/Vodalys/socketIO-client/events","assignees_url":"https://api.github.com/repos/Vodalys/socketIO-client/assignees{/user}","branches_url":"https://api.github.com/repos/Vodalys/socketIO-client/branches{/branch}","tags_url":"https://api.github.com/repos/Vodalys/socketIO-client/tags","blobs_url":"https://api.github.com/repos/Vodalys/socketIO-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Vodalys/socketIO-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Vodalys/socketIO-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/Vodalys/socketIO-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Vodalys/socketIO-client/statuses/{sha}","languages_url":"https://api.github.com/repos/Vodalys/socketIO-client/languages","stargazers_url":"https://api.github.com/repos/Vodalys/socketIO-client/stargazers","contributors_url":"https://api.github.com/repos/Vodalys/socketIO-client/contributors","subscribers_url":"https://api.github.com/repos/Vodalys/socketIO-client/subscribers","subscription_url":"https://api.github.com/repos/Vodalys/socketIO-client/subscription","commits_url":"https://api.github.com/repos/Vodalys/socketIO-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/Vodalys/socketIO-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/Vodalys/socketIO-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/Vodalys/socketIO-client/issues/comments/{number}","contents_url":"https://api.github.com/repos/Vodalys/socketIO-client/contents/{+path}","compare_url":"https://api.github.com/repos/Vodalys/socketIO-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Vodalys/socketIO-client/merges","archive_url":"https://api.github.com/repos/Vodalys/socketIO-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Vodalys/socketIO-client/downloads","issues_url":"https://api.github.com/repos/Vodalys/socketIO-client/issues{/number}","pulls_url":"https://api.github.com/repos/Vodalys/socketIO-client/pulls{/number}","milestones_url":"https://api.github.com/repos/Vodalys/socketIO-client/milestones{/number}","notifications_url":"https://api.github.com/repos/Vodalys/socketIO-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Vodalys/socketIO-client/labels{/name}","releases_url":"https://api.github.com/repos/Vodalys/socketIO-client/releases{/id}","created_at":"2013-11-21T15:01:41Z","updated_at":"2014-03-31T14:13:31Z","pushed_at":"2014-03-25T15:58:38Z","git_url":"git://github.com/Vodalys/socketIO-client.git","ssh_url":"git@github.com:Vodalys/socketIO-client.git","clone_url":"https://github.com/Vodalys/socketIO-client.git","svn_url":"https://github.com/Vodalys/socketIO-client","homepage":"http://pypi.python.org/pypi/socketIO-client","size":292,"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":"invisibleroads:master","ref":"master","sha":"2e2496cd4ce75fa56fbeab0258cae368925e650a","user":{"login":"invisibleroads","id":266668,"avatar_url":"https://avatars.githubusercontent.com/u/266668?v=3","gravatar_id":"","url":"https://api.github.com/users/invisibleroads","html_url":"https://github.com/invisibleroads","followers_url":"https://api.github.com/users/invisibleroads/followers","following_url":"https://api.github.com/users/invisibleroads/following{/other_user}","gists_url":"https://api.github.com/users/invisibleroads/gists{/gist_id}","starred_url":"https://api.github.com/users/invisibleroads/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/invisibleroads/subscriptions","organizations_url":"https://api.github.com/users/invisibleroads/orgs","repos_url":"https://api.github.com/users/invisibleroads/repos","events_url":"https://api.github.com/users/invisibleroads/events{/privacy}","received_events_url":"https://api.github.com/users/invisibleroads/received_events","type":"User","site_admin":false},"repo":{"id":4025652,"name":"socketIO-client","full_name":"invisibleroads/socketIO-client","owner":{"login":"invisibleroads","id":266668,"avatar_url":"https://avatars.githubusercontent.com/u/266668?v=3","gravatar_id":"","url":"https://api.github.com/users/invisibleroads","html_url":"https://github.com/invisibleroads","followers_url":"https://api.github.com/users/invisibleroads/followers","following_url":"https://api.github.com/users/invisibleroads/following{/other_user}","gists_url":"https://api.github.com/users/invisibleroads/gists{/gist_id}","starred_url":"https://api.github.com/users/invisibleroads/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/invisibleroads/subscriptions","organizations_url":"https://api.github.com/users/invisibleroads/orgs","repos_url":"https://api.github.com/users/invisibleroads/repos","events_url":"https://api.github.com/users/invisibleroads/events{/privacy}","received_events_url":"https://api.github.com/users/invisibleroads/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/invisibleroads/socketIO-client","description":"A socket.io client library for Python","fork":false,"url":"https://api.github.com/repos/invisibleroads/socketIO-client","forks_url":"https://api.github.com/repos/invisibleroads/socketIO-client/forks","keys_url":"https://api.github.com/repos/invisibleroads/socketIO-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/invisibleroads/socketIO-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/invisibleroads/socketIO-client/teams","hooks_url":"https://api.github.com/repos/invisibleroads/socketIO-client/hooks","issue_events_url":"https://api.github.com/repos/invisibleroads/socketIO-client/issues/events{/number}","events_url":"https://api.github.com/repos/invisibleroads/socketIO-client/events","assignees_url":"https://api.github.com/repos/invisibleroads/socketIO-client/assignees{/user}","branches_url":"https://api.github.com/repos/invisibleroads/socketIO-client/branches{/branch}","tags_url":"https://api.github.com/repos/invisibleroads/socketIO-client/tags","blobs_url":"https://api.github.com/repos/invisibleroads/socketIO-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/invisibleroads/socketIO-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/invisibleroads/socketIO-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/invisibleroads/socketIO-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/invisibleroads/socketIO-client/statuses/{sha}","languages_url":"https://api.github.com/repos/invisibleroads/socketIO-client/languages","stargazers_url":"https://api.github.com/repos/invisibleroads/socketIO-client/stargazers","contributors_url":"https://api.github.com/repos/invisibleroads/socketIO-client/contributors","subscribers_url":"https://api.github.com/repos/invisibleroads/socketIO-client/subscribers","subscription_url":"https://api.github.com/repos/invisibleroads/socketIO-client/subscription","commits_url":"https://api.github.com/repos/invisibleroads/socketIO-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/invisibleroads/socketIO-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/invisibleroads/socketIO-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/invisibleroads/socketIO-client/issues/comments/{number}","contents_url":"https://api.github.com/repos/invisibleroads/socketIO-client/contents/{+path}","compare_url":"https://api.github.com/repos/invisibleroads/socketIO-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/invisibleroads/socketIO-client/merges","archive_url":"https://api.github.com/repos/invisibleroads/socketIO-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/invisibleroads/socketIO-client/downloads","issues_url":"https://api.github.com/repos/invisibleroads/socketIO-client/issues{/number}","pulls_url":"https://api.github.com/repos/invisibleroads/socketIO-client/pulls{/number}","milestones_url":"https://api.github.com/repos/invisibleroads/socketIO-client/milestones{/number}","notifications_url":"https://api.github.com/repos/invisibleroads/socketIO-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/invisibleroads/socketIO-client/labels{/name}","releases_url":"https://api.github.com/repos/invisibleroads/socketIO-client/releases{/id}","created_at":"2012-04-14T15:24:44Z","updated_at":"2015-02-15T13:56:31Z","pushed_at":"2015-02-15T13:56:31Z","git_url":"git://github.com/invisibleroads/socketIO-client.git","ssh_url":"git@github.com:invisibleroads/socketIO-client.git","clone_url":"https://github.com/invisibleroads/socketIO-client.git","svn_url":"https://github.com/invisibleroads/socketIO-client","homepage":"http://pypi.python.org/pypi/socketIO-client","size":691,"stargazers_count":97,"watchers_count":97,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":66,"mirror_url":null,"open_issues_count":17,"forks":66,"open_issues":17,"watchers":97,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/invisibleroads/socketIO-client/pulls/44"},"html":{"href":"https://github.com/invisibleroads/socketIO-client/pull/44"},"issue":{"href":"https://api.github.com/repos/invisibleroads/socketIO-client/issues/44"},"comments":{"href":"https://api.github.com/repos/invisibleroads/socketIO-client/issues/44/comments"},"review_comments":{"href":"https://api.github.com/repos/invisibleroads/socketIO-client/pulls/44/comments"},"review_comment":{"href":"https://api.github.com/repos/invisibleroads/socketIO-client/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/invisibleroads/socketIO-client/pulls/44/commits"},"statuses":{"href":"https://api.github.com/repos/invisibleroads/socketIO-client/statuses/c82a8301bbea43e729375bea8d0cdfba25c40c57"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"invisibleroads","id":266668,"avatar_url":"https://avatars.githubusercontent.com/u/266668?v=3","gravatar_id":"","url":"https://api.github.com/users/invisibleroads","html_url":"https://github.com/invisibleroads","followers_url":"https://api.github.com/users/invisibleroads/followers","following_url":"https://api.github.com/users/invisibleroads/following{/other_user}","gists_url":"https://api.github.com/users/invisibleroads/gists{/gist_id}","starred_url":"https://api.github.com/users/invisibleroads/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/invisibleroads/subscriptions","organizations_url":"https://api.github.com/users/invisibleroads/orgs","repos_url":"https://api.github.com/users/invisibleroads/repos","events_url":"https://api.github.com/users/invisibleroads/events{/privacy}","received_events_url":"https://api.github.com/users/invisibleroads/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":6,"deletions":1,"changed_files":1}}