{"action":"opened","number":17,"pull_request":{"url":"https://api.github.com/repos/jbarnette/pinglish/pulls/17","id":41928983,"html_url":"https://github.com/jbarnette/pinglish/pull/17","diff_url":"https://github.com/jbarnette/pinglish/pull/17.diff","patch_url":"https://github.com/jbarnette/pinglish/pull/17.patch","issue_url":"https://api.github.com/repos/jbarnette/pinglish/issues/17","number":17,"state":"open","locked":false,"title":"Fix potential conflict with surrounding middlewares","user":{"login":"brainopia","id":386,"avatar_url":"https://avatars.githubusercontent.com/u/386?v=3","gravatar_id":"","url":"https://api.github.com/users/brainopia","html_url":"https://github.com/brainopia","followers_url":"https://api.github.com/users/brainopia/followers","following_url":"https://api.github.com/users/brainopia/following{/other_user}","gists_url":"https://api.github.com/users/brainopia/gists{/gist_id}","starred_url":"https://api.github.com/users/brainopia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brainopia/subscriptions","organizations_url":"https://api.github.com/users/brainopia/orgs","repos_url":"https://api.github.com/users/brainopia/repos","events_url":"https://api.github.com/users/brainopia/events{/privacy}","received_events_url":"https://api.github.com/users/brainopia/received_events","type":"User","site_admin":false},"body":"Other middlewares can modify headers directly. It would lead to incorrect value of HEADERS.\r\nAn example would be https://github.com/rack/rack/blob/master/lib/rack/etag.rb#L32.\r\n\r\nIn my case, that was the reason why pinglish middleware was returning the stale response.","created_at":"2015-08-07T20:14:07Z","updated_at":"2015-08-07T20:14:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jbarnette/pinglish/pulls/17/commits","review_comments_url":"https://api.github.com/repos/jbarnette/pinglish/pulls/17/comments","review_comment_url":"https://api.github.com/repos/jbarnette/pinglish/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jbarnette/pinglish/issues/17/comments","statuses_url":"https://api.github.com/repos/jbarnette/pinglish/statuses/a223649beee692b7d94a8e3cef41f51525df3c18","head":{"label":"brainopia:master","ref":"master","sha":"a223649beee692b7d94a8e3cef41f51525df3c18","user":{"login":"brainopia","id":386,"avatar_url":"https://avatars.githubusercontent.com/u/386?v=3","gravatar_id":"","url":"https://api.github.com/users/brainopia","html_url":"https://github.com/brainopia","followers_url":"https://api.github.com/users/brainopia/followers","following_url":"https://api.github.com/users/brainopia/following{/other_user}","gists_url":"https://api.github.com/users/brainopia/gists{/gist_id}","starred_url":"https://api.github.com/users/brainopia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brainopia/subscriptions","organizations_url":"https://api.github.com/users/brainopia/orgs","repos_url":"https://api.github.com/users/brainopia/repos","events_url":"https://api.github.com/users/brainopia/events{/privacy}","received_events_url":"https://api.github.com/users/brainopia/received_events","type":"User","site_admin":false},"repo":{"id":40378992,"name":"pinglish","full_name":"brainopia/pinglish","owner":{"login":"brainopia","id":386,"avatar_url":"https://avatars.githubusercontent.com/u/386?v=3","gravatar_id":"","url":"https://api.github.com/users/brainopia","html_url":"https://github.com/brainopia","followers_url":"https://api.github.com/users/brainopia/followers","following_url":"https://api.github.com/users/brainopia/following{/other_user}","gists_url":"https://api.github.com/users/brainopia/gists{/gist_id}","starred_url":"https://api.github.com/users/brainopia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brainopia/subscriptions","organizations_url":"https://api.github.com/users/brainopia/orgs","repos_url":"https://api.github.com/users/brainopia/repos","events_url":"https://api.github.com/users/brainopia/events{/privacy}","received_events_url":"https://api.github.com/users/brainopia/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/brainopia/pinglish","description":"A simple Rack middleware for checking application health.","fork":true,"url":"https://api.github.com/repos/brainopia/pinglish","forks_url":"https://api.github.com/repos/brainopia/pinglish/forks","keys_url":"https://api.github.com/repos/brainopia/pinglish/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brainopia/pinglish/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brainopia/pinglish/teams","hooks_url":"https://api.github.com/repos/brainopia/pinglish/hooks","issue_events_url":"https://api.github.com/repos/brainopia/pinglish/issues/events{/number}","events_url":"https://api.github.com/repos/brainopia/pinglish/events","assignees_url":"https://api.github.com/repos/brainopia/pinglish/assignees{/user}","branches_url":"https://api.github.com/repos/brainopia/pinglish/branches{/branch}","tags_url":"https://api.github.com/repos/brainopia/pinglish/tags","blobs_url":"https://api.github.com/repos/brainopia/pinglish/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brainopia/pinglish/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brainopia/pinglish/git/refs{/sha}","trees_url":"https://api.github.com/repos/brainopia/pinglish/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brainopia/pinglish/statuses/{sha}","languages_url":"https://api.github.com/repos/brainopia/pinglish/languages","stargazers_url":"https://api.github.com/repos/brainopia/pinglish/stargazers","contributors_url":"https://api.github.com/repos/brainopia/pinglish/contributors","subscribers_url":"https://api.github.com/repos/brainopia/pinglish/subscribers","subscription_url":"https://api.github.com/repos/brainopia/pinglish/subscription","commits_url":"https://api.github.com/repos/brainopia/pinglish/commits{/sha}","git_commits_url":"https://api.github.com/repos/brainopia/pinglish/git/commits{/sha}","comments_url":"https://api.github.com/repos/brainopia/pinglish/comments{/number}","issue_comment_url":"https://api.github.com/repos/brainopia/pinglish/issues/comments{/number}","contents_url":"https://api.github.com/repos/brainopia/pinglish/contents/{+path}","compare_url":"https://api.github.com/repos/brainopia/pinglish/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brainopia/pinglish/merges","archive_url":"https://api.github.com/repos/brainopia/pinglish/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brainopia/pinglish/downloads","issues_url":"https://api.github.com/repos/brainopia/pinglish/issues{/number}","pulls_url":"https://api.github.com/repos/brainopia/pinglish/pulls{/number}","milestones_url":"https://api.github.com/repos/brainopia/pinglish/milestones{/number}","notifications_url":"https://api.github.com/repos/brainopia/pinglish/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brainopia/pinglish/labels{/name}","releases_url":"https://api.github.com/repos/brainopia/pinglish/releases{/id}","created_at":"2015-08-07T20:08:07Z","updated_at":"2015-08-07T20:08:08Z","pushed_at":"2015-08-07T20:13:43Z","git_url":"git://github.com/brainopia/pinglish.git","ssh_url":"git@github.com:brainopia/pinglish.git","clone_url":"https://github.com/brainopia/pinglish.git","svn_url":"https://github.com/brainopia/pinglish","homepage":"","size":126,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"jbarnette:master","ref":"master","sha":"edc6cfecaabd03dd78f7aa2013c6870c7ab0b8d7","user":{"login":"jbarnette","id":3117,"avatar_url":"https://avatars.githubusercontent.com/u/3117?v=3","gravatar_id":"","url":"https://api.github.com/users/jbarnette","html_url":"https://github.com/jbarnette","followers_url":"https://api.github.com/users/jbarnette/followers","following_url":"https://api.github.com/users/jbarnette/following{/other_user}","gists_url":"https://api.github.com/users/jbarnette/gists{/gist_id}","starred_url":"https://api.github.com/users/jbarnette/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbarnette/subscriptions","organizations_url":"https://api.github.com/users/jbarnette/orgs","repos_url":"https://api.github.com/users/jbarnette/repos","events_url":"https://api.github.com/users/jbarnette/events{/privacy}","received_events_url":"https://api.github.com/users/jbarnette/received_events","type":"User","site_admin":true},"repo":{"id":7804253,"name":"pinglish","full_name":"jbarnette/pinglish","owner":{"login":"jbarnette","id":3117,"avatar_url":"https://avatars.githubusercontent.com/u/3117?v=3","gravatar_id":"","url":"https://api.github.com/users/jbarnette","html_url":"https://github.com/jbarnette","followers_url":"https://api.github.com/users/jbarnette/followers","following_url":"https://api.github.com/users/jbarnette/following{/other_user}","gists_url":"https://api.github.com/users/jbarnette/gists{/gist_id}","starred_url":"https://api.github.com/users/jbarnette/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbarnette/subscriptions","organizations_url":"https://api.github.com/users/jbarnette/orgs","repos_url":"https://api.github.com/users/jbarnette/repos","events_url":"https://api.github.com/users/jbarnette/events{/privacy}","received_events_url":"https://api.github.com/users/jbarnette/received_events","type":"User","site_admin":true},"private":false,"html_url":"https://github.com/jbarnette/pinglish","description":"A simple Rack middleware for checking application health.","fork":false,"url":"https://api.github.com/repos/jbarnette/pinglish","forks_url":"https://api.github.com/repos/jbarnette/pinglish/forks","keys_url":"https://api.github.com/repos/jbarnette/pinglish/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jbarnette/pinglish/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jbarnette/pinglish/teams","hooks_url":"https://api.github.com/repos/jbarnette/pinglish/hooks","issue_events_url":"https://api.github.com/repos/jbarnette/pinglish/issues/events{/number}","events_url":"https://api.github.com/repos/jbarnette/pinglish/events","assignees_url":"https://api.github.com/repos/jbarnette/pinglish/assignees{/user}","branches_url":"https://api.github.com/repos/jbarnette/pinglish/branches{/branch}","tags_url":"https://api.github.com/repos/jbarnette/pinglish/tags","blobs_url":"https://api.github.com/repos/jbarnette/pinglish/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jbarnette/pinglish/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jbarnette/pinglish/git/refs{/sha}","trees_url":"https://api.github.com/repos/jbarnette/pinglish/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jbarnette/pinglish/statuses/{sha}","languages_url":"https://api.github.com/repos/jbarnette/pinglish/languages","stargazers_url":"https://api.github.com/repos/jbarnette/pinglish/stargazers","contributors_url":"https://api.github.com/repos/jbarnette/pinglish/contributors","subscribers_url":"https://api.github.com/repos/jbarnette/pinglish/subscribers","subscription_url":"https://api.github.com/repos/jbarnette/pinglish/subscription","commits_url":"https://api.github.com/repos/jbarnette/pinglish/commits{/sha}","git_commits_url":"https://api.github.com/repos/jbarnette/pinglish/git/commits{/sha}","comments_url":"https://api.github.com/repos/jbarnette/pinglish/comments{/number}","issue_comment_url":"https://api.github.com/repos/jbarnette/pinglish/issues/comments{/number}","contents_url":"https://api.github.com/repos/jbarnette/pinglish/contents/{+path}","compare_url":"https://api.github.com/repos/jbarnette/pinglish/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jbarnette/pinglish/merges","archive_url":"https://api.github.com/repos/jbarnette/pinglish/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jbarnette/pinglish/downloads","issues_url":"https://api.github.com/repos/jbarnette/pinglish/issues{/number}","pulls_url":"https://api.github.com/repos/jbarnette/pinglish/pulls{/number}","milestones_url":"https://api.github.com/repos/jbarnette/pinglish/milestones{/number}","notifications_url":"https://api.github.com/repos/jbarnette/pinglish/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jbarnette/pinglish/labels{/name}","releases_url":"https://api.github.com/repos/jbarnette/pinglish/releases{/id}","created_at":"2013-01-24T18:33:07Z","updated_at":"2015-07-24T18:18:00Z","pushed_at":"2014-11-13T16:19:58Z","git_url":"git://github.com/jbarnette/pinglish.git","ssh_url":"git@github.com:jbarnette/pinglish.git","clone_url":"https://github.com/jbarnette/pinglish.git","svn_url":"https://github.com/jbarnette/pinglish","homepage":"","size":267,"stargazers_count":137,"watchers_count":137,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":3,"forks":9,"open_issues":3,"watchers":137,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jbarnette/pinglish/pulls/17"},"html":{"href":"https://github.com/jbarnette/pinglish/pull/17"},"issue":{"href":"https://api.github.com/repos/jbarnette/pinglish/issues/17"},"comments":{"href":"https://api.github.com/repos/jbarnette/pinglish/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/jbarnette/pinglish/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/jbarnette/pinglish/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jbarnette/pinglish/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/jbarnette/pinglish/statuses/a223649beee692b7d94a8e3cef41f51525df3c18"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":2,"changed_files":1}}