{"action":"opened","number":889,"pull_request":{"url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/pulls/889","id":28062094,"html_url":"https://github.com/pagespeed/ngx_pagespeed/pull/889","diff_url":"https://github.com/pagespeed/ngx_pagespeed/pull/889.diff","patch_url":"https://github.com/pagespeed/ngx_pagespeed/pull/889.patch","issue_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/issues/889","number":889,"state":"open","locked":false,"title":"content-handling-errors: fall back to nginx's default handling","user":{"login":"oschaaf","id":2239556,"avatar_url":"https://avatars.githubusercontent.com/u/2239556?v=3","gravatar_id":"","url":"https://api.github.com/users/oschaaf","html_url":"https://github.com/oschaaf","followers_url":"https://api.github.com/users/oschaaf/followers","following_url":"https://api.github.com/users/oschaaf/following{/other_user}","gists_url":"https://api.github.com/users/oschaaf/gists{/gist_id}","starred_url":"https://api.github.com/users/oschaaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oschaaf/subscriptions","organizations_url":"https://api.github.com/users/oschaaf/orgs","repos_url":"https://api.github.com/users/oschaaf/repos","events_url":"https://api.github.com/users/oschaaf/events{/privacy}","received_events_url":"https://api.github.com/users/oschaaf/received_events","type":"User","site_admin":false},"body":"This change passes on non succesful status codes for pagespeed\r\nresources and other places where we act as a content handler to\r\nnginx. This has two benefits:\r\n- Instead of a blank page, the user agent receives a formatted\r\n  and (hopefully customized and informative) response.\r\n- Header modules are able to operate on that response, which was\r\n  requested in https://github.com/pagespeed/ngx_pagespeed/issues/612#issuecomment-58855816","created_at":"2015-01-26T21:31:23Z","updated_at":"2015-01-26T21:31:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"636d416b3ec738a6c15205ac39017f45c66f325b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/pulls/889/commits","review_comments_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/pulls/889/comments","review_comment_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/pulls/comments/{number}","comments_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/issues/889/comments","statuses_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/statuses/3efebb79489b2c949f4f0eda2ce97f5824b797f9","head":{"label":"pagespeed:oschaaf-trunk-tracking-content-handler-error-responses","ref":"oschaaf-trunk-tracking-content-handler-error-responses","sha":"3efebb79489b2c949f4f0eda2ce97f5824b797f9","user":{"login":"pagespeed","id":1880112,"avatar_url":"https://avatars.githubusercontent.com/u/1880112?v=3","gravatar_id":"","url":"https://api.github.com/users/pagespeed","html_url":"https://github.com/pagespeed","followers_url":"https://api.github.com/users/pagespeed/followers","following_url":"https://api.github.com/users/pagespeed/following{/other_user}","gists_url":"https://api.github.com/users/pagespeed/gists{/gist_id}","starred_url":"https://api.github.com/users/pagespeed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pagespeed/subscriptions","organizations_url":"https://api.github.com/users/pagespeed/orgs","repos_url":"https://api.github.com/users/pagespeed/repos","events_url":"https://api.github.com/users/pagespeed/events{/privacy}","received_events_url":"https://api.github.com/users/pagespeed/received_events","type":"Organization","site_admin":false},"repo":{"id":4766638,"name":"ngx_pagespeed","full_name":"pagespeed/ngx_pagespeed","owner":{"login":"pagespeed","id":1880112,"avatar_url":"https://avatars.githubusercontent.com/u/1880112?v=3","gravatar_id":"","url":"https://api.github.com/users/pagespeed","html_url":"https://github.com/pagespeed","followers_url":"https://api.github.com/users/pagespeed/followers","following_url":"https://api.github.com/users/pagespeed/following{/other_user}","gists_url":"https://api.github.com/users/pagespeed/gists{/gist_id}","starred_url":"https://api.github.com/users/pagespeed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pagespeed/subscriptions","organizations_url":"https://api.github.com/users/pagespeed/orgs","repos_url":"https://api.github.com/users/pagespeed/repos","events_url":"https://api.github.com/users/pagespeed/events{/privacy}","received_events_url":"https://api.github.com/users/pagespeed/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pagespeed/ngx_pagespeed","description":"Automatic PageSpeed optimization module for Nginx","fork":false,"url":"https://api.github.com/repos/pagespeed/ngx_pagespeed","forks_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/forks","keys_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/teams","hooks_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/hooks","issue_events_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/issues/events{/number}","events_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/events","assignees_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/assignees{/user}","branches_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/branches{/branch}","tags_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/tags","blobs_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/git/refs{/sha}","trees_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/statuses/{sha}","languages_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/languages","stargazers_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/stargazers","contributors_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/contributors","subscribers_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/subscribers","subscription_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/subscription","commits_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/commits{/sha}","git_commits_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/git/commits{/sha}","comments_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/comments{/number}","issue_comment_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/issues/comments/{number}","contents_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/contents/{+path}","compare_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/merges","archive_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/downloads","issues_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/issues{/number}","pulls_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/pulls{/number}","milestones_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/milestones{/number}","notifications_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/labels{/name}","releases_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/releases{/id}","created_at":"2012-06-23T18:30:14Z","updated_at":"2015-01-26T16:20:51Z","pushed_at":"2015-01-26T21:29:50Z","git_url":"git://github.com/pagespeed/ngx_pagespeed.git","ssh_url":"git@github.com:pagespeed/ngx_pagespeed.git","clone_url":"https://github.com/pagespeed/ngx_pagespeed.git","svn_url":"https://github.com/pagespeed/ngx_pagespeed","homepage":"http://ngxpagespeed.com/","size":54343,"stargazers_count":2349,"watchers_count":2349,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":155,"mirror_url":null,"open_issues_count":114,"forks":155,"open_issues":114,"watchers":2349,"default_branch":"master"}},"base":{"label":"pagespeed:trunk-tracking","ref":"trunk-tracking","sha":"02b67b79ad5bdca2faf935d2f3c796547cbf8b5b","user":{"login":"pagespeed","id":1880112,"avatar_url":"https://avatars.githubusercontent.com/u/1880112?v=3","gravatar_id":"","url":"https://api.github.com/users/pagespeed","html_url":"https://github.com/pagespeed","followers_url":"https://api.github.com/users/pagespeed/followers","following_url":"https://api.github.com/users/pagespeed/following{/other_user}","gists_url":"https://api.github.com/users/pagespeed/gists{/gist_id}","starred_url":"https://api.github.com/users/pagespeed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pagespeed/subscriptions","organizations_url":"https://api.github.com/users/pagespeed/orgs","repos_url":"https://api.github.com/users/pagespeed/repos","events_url":"https://api.github.com/users/pagespeed/events{/privacy}","received_events_url":"https://api.github.com/users/pagespeed/received_events","type":"Organization","site_admin":false},"repo":{"id":4766638,"name":"ngx_pagespeed","full_name":"pagespeed/ngx_pagespeed","owner":{"login":"pagespeed","id":1880112,"avatar_url":"https://avatars.githubusercontent.com/u/1880112?v=3","gravatar_id":"","url":"https://api.github.com/users/pagespeed","html_url":"https://github.com/pagespeed","followers_url":"https://api.github.com/users/pagespeed/followers","following_url":"https://api.github.com/users/pagespeed/following{/other_user}","gists_url":"https://api.github.com/users/pagespeed/gists{/gist_id}","starred_url":"https://api.github.com/users/pagespeed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pagespeed/subscriptions","organizations_url":"https://api.github.com/users/pagespeed/orgs","repos_url":"https://api.github.com/users/pagespeed/repos","events_url":"https://api.github.com/users/pagespeed/events{/privacy}","received_events_url":"https://api.github.com/users/pagespeed/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pagespeed/ngx_pagespeed","description":"Automatic PageSpeed optimization module for Nginx","fork":false,"url":"https://api.github.com/repos/pagespeed/ngx_pagespeed","forks_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/forks","keys_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/teams","hooks_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/hooks","issue_events_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/issues/events{/number}","events_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/events","assignees_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/assignees{/user}","branches_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/branches{/branch}","tags_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/tags","blobs_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/git/refs{/sha}","trees_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/statuses/{sha}","languages_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/languages","stargazers_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/stargazers","contributors_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/contributors","subscribers_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/subscribers","subscription_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/subscription","commits_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/commits{/sha}","git_commits_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/git/commits{/sha}","comments_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/comments{/number}","issue_comment_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/issues/comments/{number}","contents_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/contents/{+path}","compare_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/merges","archive_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/downloads","issues_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/issues{/number}","pulls_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/pulls{/number}","milestones_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/milestones{/number}","notifications_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/labels{/name}","releases_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/releases{/id}","created_at":"2012-06-23T18:30:14Z","updated_at":"2015-01-26T16:20:51Z","pushed_at":"2015-01-26T21:29:50Z","git_url":"git://github.com/pagespeed/ngx_pagespeed.git","ssh_url":"git@github.com:pagespeed/ngx_pagespeed.git","clone_url":"https://github.com/pagespeed/ngx_pagespeed.git","svn_url":"https://github.com/pagespeed/ngx_pagespeed","homepage":"http://ngxpagespeed.com/","size":54343,"stargazers_count":2349,"watchers_count":2349,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":155,"mirror_url":null,"open_issues_count":114,"forks":155,"open_issues":114,"watchers":2349,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pagespeed/ngx_pagespeed/pulls/889"},"html":{"href":"https://github.com/pagespeed/ngx_pagespeed/pull/889"},"issue":{"href":"https://api.github.com/repos/pagespeed/ngx_pagespeed/issues/889"},"comments":{"href":"https://api.github.com/repos/pagespeed/ngx_pagespeed/issues/889/comments"},"review_comments":{"href":"https://api.github.com/repos/pagespeed/ngx_pagespeed/pulls/889/comments"},"review_comment":{"href":"https://api.github.com/repos/pagespeed/ngx_pagespeed/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/pagespeed/ngx_pagespeed/pulls/889/commits"},"statuses":{"href":"https://api.github.com/repos/pagespeed/ngx_pagespeed/statuses/3efebb79489b2c949f4f0eda2ce97f5824b797f9"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":26,"deletions":1,"changed_files":4}}