{"action":"closed","number":225,"pull_request":{"url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/pulls/225","id":58566493,"html_url":"https://github.com/miguelgrinberg/Flask-SocketIO/pull/225","diff_url":"https://github.com/miguelgrinberg/Flask-SocketIO/pull/225.diff","patch_url":"https://github.com/miguelgrinberg/Flask-SocketIO/pull/225.patch","issue_url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/issues/225","number":225,"state":"closed","locked":false,"title":"Allow for debugging when other WSGI middleware is inserted after SocketIO middleware","user":{"login":"Grant1219","id":847833,"avatar_url":"https://avatars.githubusercontent.com/u/847833?v=3","gravatar_id":"","url":"https://api.github.com/users/Grant1219","html_url":"https://github.com/Grant1219","followers_url":"https://api.github.com/users/Grant1219/followers","following_url":"https://api.github.com/users/Grant1219/following{/other_user}","gists_url":"https://api.github.com/users/Grant1219/gists{/gist_id}","starred_url":"https://api.github.com/users/Grant1219/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Grant1219/subscriptions","organizations_url":"https://api.github.com/users/Grant1219/orgs","repos_url":"https://api.github.com/users/Grant1219/repos","events_url":"https://api.github.com/users/Grant1219/events{/privacy}","received_events_url":"https://api.github.com/users/Grant1219/received_events","type":"User","site_admin":false},"body":"In regards to the issue I opened here: https://github.com/miguelgrinberg/Flask-SocketIO/issues/224\r\n\r\nI believe this satisfies the requirements since it assures the DebugMiddleware is always inserted after the Flask-SocketIO middleware.","created_at":"2016-02-08T02:41:06Z","updated_at":"2016-02-08T17:25:08Z","closed_at":"2016-02-08T17:25:08Z","merged_at":"2016-02-08T17:25:08Z","merge_commit_sha":"fe831724a0047e591f4b65de5425fe1f22033102","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/pulls/225/commits","review_comments_url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/pulls/225/comments","review_comment_url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/pulls/comments{/number}","comments_url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/issues/225/comments","statuses_url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/statuses/8c9c853eac93daecc41be0b0ad47611c4ca4f509","head":{"label":"Grant1219:master","ref":"master","sha":"8c9c853eac93daecc41be0b0ad47611c4ca4f509","user":{"login":"Grant1219","id":847833,"avatar_url":"https://avatars.githubusercontent.com/u/847833?v=3","gravatar_id":"","url":"https://api.github.com/users/Grant1219","html_url":"https://github.com/Grant1219","followers_url":"https://api.github.com/users/Grant1219/followers","following_url":"https://api.github.com/users/Grant1219/following{/other_user}","gists_url":"https://api.github.com/users/Grant1219/gists{/gist_id}","starred_url":"https://api.github.com/users/Grant1219/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Grant1219/subscriptions","organizations_url":"https://api.github.com/users/Grant1219/orgs","repos_url":"https://api.github.com/users/Grant1219/repos","events_url":"https://api.github.com/users/Grant1219/events{/privacy}","received_events_url":"https://api.github.com/users/Grant1219/received_events","type":"User","site_admin":false},"repo":{"id":51268840,"name":"Flask-SocketIO","full_name":"Grant1219/Flask-SocketIO","owner":{"login":"Grant1219","id":847833,"avatar_url":"https://avatars.githubusercontent.com/u/847833?v=3","gravatar_id":"","url":"https://api.github.com/users/Grant1219","html_url":"https://github.com/Grant1219","followers_url":"https://api.github.com/users/Grant1219/followers","following_url":"https://api.github.com/users/Grant1219/following{/other_user}","gists_url":"https://api.github.com/users/Grant1219/gists{/gist_id}","starred_url":"https://api.github.com/users/Grant1219/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Grant1219/subscriptions","organizations_url":"https://api.github.com/users/Grant1219/orgs","repos_url":"https://api.github.com/users/Grant1219/repos","events_url":"https://api.github.com/users/Grant1219/events{/privacy}","received_events_url":"https://api.github.com/users/Grant1219/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Grant1219/Flask-SocketIO","description":"Socket.IO integration for Flask applications.","fork":true,"url":"https://api.github.com/repos/Grant1219/Flask-SocketIO","forks_url":"https://api.github.com/repos/Grant1219/Flask-SocketIO/forks","keys_url":"https://api.github.com/repos/Grant1219/Flask-SocketIO/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Grant1219/Flask-SocketIO/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Grant1219/Flask-SocketIO/teams","hooks_url":"https://api.github.com/repos/Grant1219/Flask-SocketIO/hooks","issue_events_url":"https://api.github.com/repos/Grant1219/Flask-SocketIO/issues/events{/number}","events_url":"https://api.github.com/repos/Grant1219/Flask-SocketIO/events","assignees_url":"https://api.github.com/repos/Grant1219/Flask-SocketIO/assignees{/user}","branches_url":"https://api.github.com/repos/Grant1219/Flask-SocketIO/branches{/branch}","tags_url":"https://api.github.com/repos/Grant1219/Flask-SocketIO/tags","blobs_url":"https://api.github.com/repos/Grant1219/Flask-SocketIO/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Grant1219/Flask-SocketIO/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Grant1219/Flask-SocketIO/git/refs{/sha}","trees_url":"https://api.github.com/repos/Grant1219/Flask-SocketIO/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Grant1219/Flask-SocketIO/statuses/{sha}","languages_url":"https://api.github.com/repos/Grant1219/Flask-SocketIO/languages","stargazers_url":"https://api.github.com/repos/Grant1219/Flask-SocketIO/stargazers","contributors_url":"https://api.github.com/repos/Grant1219/Flask-SocketIO/contributors","subscribers_url":"https://api.github.com/repos/Grant1219/Flask-SocketIO/subscribers","subscription_url":"https://api.github.com/repos/Grant1219/Flask-SocketIO/subscription","commits_url":"https://api.github.com/repos/Grant1219/Flask-SocketIO/commits{/sha}","git_commits_url":"https://api.github.com/repos/Grant1219/Flask-SocketIO/git/commits{/sha}","comments_url":"https://api.github.com/repos/Grant1219/Flask-SocketIO/comments{/number}","issue_comment_url":"https://api.github.com/repos/Grant1219/Flask-SocketIO/issues/comments{/number}","contents_url":"https://api.github.com/repos/Grant1219/Flask-SocketIO/contents/{+path}","compare_url":"https://api.github.com/repos/Grant1219/Flask-SocketIO/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Grant1219/Flask-SocketIO/merges","archive_url":"https://api.github.com/repos/Grant1219/Flask-SocketIO/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Grant1219/Flask-SocketIO/downloads","issues_url":"https://api.github.com/repos/Grant1219/Flask-SocketIO/issues{/number}","pulls_url":"https://api.github.com/repos/Grant1219/Flask-SocketIO/pulls{/number}","milestones_url":"https://api.github.com/repos/Grant1219/Flask-SocketIO/milestones{/number}","notifications_url":"https://api.github.com/repos/Grant1219/Flask-SocketIO/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Grant1219/Flask-SocketIO/labels{/name}","releases_url":"https://api.github.com/repos/Grant1219/Flask-SocketIO/releases{/id}","deployments_url":"https://api.github.com/repos/Grant1219/Flask-SocketIO/deployments","created_at":"2016-02-07T22:09:51Z","updated_at":"2016-02-07T22:09:53Z","pushed_at":"2016-02-08T16:05:18Z","git_url":"git://github.com/Grant1219/Flask-SocketIO.git","ssh_url":"git@github.com:Grant1219/Flask-SocketIO.git","clone_url":"https://github.com/Grant1219/Flask-SocketIO.git","svn_url":"https://github.com/Grant1219/Flask-SocketIO","homepage":null,"size":280,"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":"miguelgrinberg:master","ref":"master","sha":"22c81dd85c2a38adc332045aeb98d718259ad627","user":{"login":"miguelgrinberg","id":2715854,"avatar_url":"https://avatars.githubusercontent.com/u/2715854?v=3","gravatar_id":"","url":"https://api.github.com/users/miguelgrinberg","html_url":"https://github.com/miguelgrinberg","followers_url":"https://api.github.com/users/miguelgrinberg/followers","following_url":"https://api.github.com/users/miguelgrinberg/following{/other_user}","gists_url":"https://api.github.com/users/miguelgrinberg/gists{/gist_id}","starred_url":"https://api.github.com/users/miguelgrinberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miguelgrinberg/subscriptions","organizations_url":"https://api.github.com/users/miguelgrinberg/orgs","repos_url":"https://api.github.com/users/miguelgrinberg/repos","events_url":"https://api.github.com/users/miguelgrinberg/events{/privacy}","received_events_url":"https://api.github.com/users/miguelgrinberg/received_events","type":"User","site_admin":false},"repo":{"id":16662094,"name":"Flask-SocketIO","full_name":"miguelgrinberg/Flask-SocketIO","owner":{"login":"miguelgrinberg","id":2715854,"avatar_url":"https://avatars.githubusercontent.com/u/2715854?v=3","gravatar_id":"","url":"https://api.github.com/users/miguelgrinberg","html_url":"https://github.com/miguelgrinberg","followers_url":"https://api.github.com/users/miguelgrinberg/followers","following_url":"https://api.github.com/users/miguelgrinberg/following{/other_user}","gists_url":"https://api.github.com/users/miguelgrinberg/gists{/gist_id}","starred_url":"https://api.github.com/users/miguelgrinberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miguelgrinberg/subscriptions","organizations_url":"https://api.github.com/users/miguelgrinberg/orgs","repos_url":"https://api.github.com/users/miguelgrinberg/repos","events_url":"https://api.github.com/users/miguelgrinberg/events{/privacy}","received_events_url":"https://api.github.com/users/miguelgrinberg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/miguelgrinberg/Flask-SocketIO","description":"Socket.IO integration for Flask applications.","fork":false,"url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO","forks_url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/forks","keys_url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/keys{/key_id}","collaborators_url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/teams","hooks_url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/hooks","issue_events_url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/issues/events{/number}","events_url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/events","assignees_url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/assignees{/user}","branches_url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/branches{/branch}","tags_url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/tags","blobs_url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/git/refs{/sha}","trees_url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/git/trees{/sha}","statuses_url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/statuses/{sha}","languages_url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/languages","stargazers_url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/stargazers","contributors_url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/contributors","subscribers_url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/subscribers","subscription_url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/subscription","commits_url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/commits{/sha}","git_commits_url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/git/commits{/sha}","comments_url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/comments{/number}","issue_comment_url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/issues/comments{/number}","contents_url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/contents/{+path}","compare_url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/compare/{base}...{head}","merges_url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/merges","archive_url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/downloads","issues_url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/issues{/number}","pulls_url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/pulls{/number}","milestones_url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/milestones{/number}","notifications_url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/labels{/name}","releases_url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/releases{/id}","deployments_url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/deployments","created_at":"2014-02-09T07:22:50Z","updated_at":"2016-02-08T14:41:33Z","pushed_at":"2016-02-08T17:25:07Z","git_url":"git://github.com/miguelgrinberg/Flask-SocketIO.git","ssh_url":"git@github.com:miguelgrinberg/Flask-SocketIO.git","clone_url":"https://github.com/miguelgrinberg/Flask-SocketIO.git","svn_url":"https://github.com/miguelgrinberg/Flask-SocketIO","homepage":null,"size":386,"stargazers_count":828,"watchers_count":828,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":143,"mirror_url":null,"open_issues_count":39,"forks":143,"open_issues":39,"watchers":828,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/pulls/225"},"html":{"href":"https://github.com/miguelgrinberg/Flask-SocketIO/pull/225"},"issue":{"href":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/issues/225"},"comments":{"href":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/issues/225/comments"},"review_comments":{"href":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/pulls/225/comments"},"review_comment":{"href":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/pulls/225/commits"},"statuses":{"href":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/statuses/8c9c853eac93daecc41be0b0ad47611c4ca4f509"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"miguelgrinberg","id":2715854,"avatar_url":"https://avatars.githubusercontent.com/u/2715854?v=3","gravatar_id":"","url":"https://api.github.com/users/miguelgrinberg","html_url":"https://github.com/miguelgrinberg","followers_url":"https://api.github.com/users/miguelgrinberg/followers","following_url":"https://api.github.com/users/miguelgrinberg/following{/other_user}","gists_url":"https://api.github.com/users/miguelgrinberg/gists{/gist_id}","starred_url":"https://api.github.com/users/miguelgrinberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miguelgrinberg/subscriptions","organizations_url":"https://api.github.com/users/miguelgrinberg/orgs","repos_url":"https://api.github.com/users/miguelgrinberg/repos","events_url":"https://api.github.com/users/miguelgrinberg/events{/privacy}","received_events_url":"https://api.github.com/users/miguelgrinberg/received_events","type":"User","site_admin":false},"comments":3,"review_comments":0,"commits":1,"additions":28,"deletions":9,"changed_files":1}}