{"action":"opened","number":139,"pull_request":{"url":"https://api.github.com/repos/atmos/camo/pulls/139","id":172378218,"html_url":"https://github.com/atmos/camo/pull/139","diff_url":"https://github.com/atmos/camo/pull/139.diff","patch_url":"https://github.com/atmos/camo/pull/139.patch","issue_url":"https://api.github.com/repos/atmos/camo/issues/139","number":139,"state":"open","locked":false,"title":"Allow for redirect when content length exceeded","user":{"login":"di","id":294415,"avatar_url":"https://avatars1.githubusercontent.com/u/294415?v=4","gravatar_id":"","url":"https://api.github.com/users/di","html_url":"https://github.com/di","followers_url":"https://api.github.com/users/di/followers","following_url":"https://api.github.com/users/di/following{/other_user}","gists_url":"https://api.github.com/users/di/gists{/gist_id}","starred_url":"https://api.github.com/users/di/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/di/subscriptions","organizations_url":"https://api.github.com/users/di/orgs","repos_url":"https://api.github.com/users/di/repos","events_url":"https://api.github.com/users/di/events{/privacy}","received_events_url":"https://api.github.com/users/di/received_events","type":"User","site_admin":false},"body":"This PR allows camo to be configured to redirect to a URL when the content length limit is exceeded, via the `CAMO_LENGTH_LIMIT_REDIRECT` environmental variable. ","created_at":"2018-03-01T22:58:29Z","updated_at":"2018-03-01T22:58:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/atmos/camo/pulls/139/commits","review_comments_url":"https://api.github.com/repos/atmos/camo/pulls/139/comments","review_comment_url":"https://api.github.com/repos/atmos/camo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/atmos/camo/issues/139/comments","statuses_url":"https://api.github.com/repos/atmos/camo/statuses/4fb16d205e31ec57f6a62094da61225a9f1e56f7","head":{"label":"di:content-length-redirect","ref":"content-length-redirect","sha":"4fb16d205e31ec57f6a62094da61225a9f1e56f7","user":{"login":"di","id":294415,"avatar_url":"https://avatars1.githubusercontent.com/u/294415?v=4","gravatar_id":"","url":"https://api.github.com/users/di","html_url":"https://github.com/di","followers_url":"https://api.github.com/users/di/followers","following_url":"https://api.github.com/users/di/following{/other_user}","gists_url":"https://api.github.com/users/di/gists{/gist_id}","starred_url":"https://api.github.com/users/di/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/di/subscriptions","organizations_url":"https://api.github.com/users/di/orgs","repos_url":"https://api.github.com/users/di/repos","events_url":"https://api.github.com/users/di/events{/privacy}","received_events_url":"https://api.github.com/users/di/received_events","type":"User","site_admin":false},"repo":{"id":123501583,"name":"camo","full_name":"di/camo","owner":{"login":"di","id":294415,"avatar_url":"https://avatars1.githubusercontent.com/u/294415?v=4","gravatar_id":"","url":"https://api.github.com/users/di","html_url":"https://github.com/di","followers_url":"https://api.github.com/users/di/followers","following_url":"https://api.github.com/users/di/following{/other_user}","gists_url":"https://api.github.com/users/di/gists{/gist_id}","starred_url":"https://api.github.com/users/di/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/di/subscriptions","organizations_url":"https://api.github.com/users/di/orgs","repos_url":"https://api.github.com/users/di/repos","events_url":"https://api.github.com/users/di/events{/privacy}","received_events_url":"https://api.github.com/users/di/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/di/camo","description":":lock: an http proxy to route images through SSL","fork":true,"url":"https://api.github.com/repos/di/camo","forks_url":"https://api.github.com/repos/di/camo/forks","keys_url":"https://api.github.com/repos/di/camo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/di/camo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/di/camo/teams","hooks_url":"https://api.github.com/repos/di/camo/hooks","issue_events_url":"https://api.github.com/repos/di/camo/issues/events{/number}","events_url":"https://api.github.com/repos/di/camo/events","assignees_url":"https://api.github.com/repos/di/camo/assignees{/user}","branches_url":"https://api.github.com/repos/di/camo/branches{/branch}","tags_url":"https://api.github.com/repos/di/camo/tags","blobs_url":"https://api.github.com/repos/di/camo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/di/camo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/di/camo/git/refs{/sha}","trees_url":"https://api.github.com/repos/di/camo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/di/camo/statuses/{sha}","languages_url":"https://api.github.com/repos/di/camo/languages","stargazers_url":"https://api.github.com/repos/di/camo/stargazers","contributors_url":"https://api.github.com/repos/di/camo/contributors","subscribers_url":"https://api.github.com/repos/di/camo/subscribers","subscription_url":"https://api.github.com/repos/di/camo/subscription","commits_url":"https://api.github.com/repos/di/camo/commits{/sha}","git_commits_url":"https://api.github.com/repos/di/camo/git/commits{/sha}","comments_url":"https://api.github.com/repos/di/camo/comments{/number}","issue_comment_url":"https://api.github.com/repos/di/camo/issues/comments{/number}","contents_url":"https://api.github.com/repos/di/camo/contents/{+path}","compare_url":"https://api.github.com/repos/di/camo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/di/camo/merges","archive_url":"https://api.github.com/repos/di/camo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/di/camo/downloads","issues_url":"https://api.github.com/repos/di/camo/issues{/number}","pulls_url":"https://api.github.com/repos/di/camo/pulls{/number}","milestones_url":"https://api.github.com/repos/di/camo/milestones{/number}","notifications_url":"https://api.github.com/repos/di/camo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/di/camo/labels{/name}","releases_url":"https://api.github.com/repos/di/camo/releases{/id}","deployments_url":"https://api.github.com/repos/di/camo/deployments","created_at":"2018-03-01T22:51:16Z","updated_at":"2018-03-01T22:51:18Z","pushed_at":"2018-03-01T22:53:33Z","git_url":"git://github.com/di/camo.git","ssh_url":"git@github.com:di/camo.git","clone_url":"https://github.com/di/camo.git","svn_url":"https://github.com/di/camo","homepage":"","size":215,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"atmos:master","ref":"master","sha":"e59df56a01c023850962fac16905269d264fba50","user":{"login":"atmos","id":38,"avatar_url":"https://avatars3.githubusercontent.com/u/38?v=4","gravatar_id":"","url":"https://api.github.com/users/atmos","html_url":"https://github.com/atmos","followers_url":"https://api.github.com/users/atmos/followers","following_url":"https://api.github.com/users/atmos/following{/other_user}","gists_url":"https://api.github.com/users/atmos/gists{/gist_id}","starred_url":"https://api.github.com/users/atmos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atmos/subscriptions","organizations_url":"https://api.github.com/users/atmos/orgs","repos_url":"https://api.github.com/users/atmos/repos","events_url":"https://api.github.com/users/atmos/events{/privacy}","received_events_url":"https://api.github.com/users/atmos/received_events","type":"User","site_admin":false},"repo":{"id":1076534,"name":"camo","full_name":"atmos/camo","owner":{"login":"atmos","id":38,"avatar_url":"https://avatars3.githubusercontent.com/u/38?v=4","gravatar_id":"","url":"https://api.github.com/users/atmos","html_url":"https://github.com/atmos","followers_url":"https://api.github.com/users/atmos/followers","following_url":"https://api.github.com/users/atmos/following{/other_user}","gists_url":"https://api.github.com/users/atmos/gists{/gist_id}","starred_url":"https://api.github.com/users/atmos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atmos/subscriptions","organizations_url":"https://api.github.com/users/atmos/orgs","repos_url":"https://api.github.com/users/atmos/repos","events_url":"https://api.github.com/users/atmos/events{/privacy}","received_events_url":"https://api.github.com/users/atmos/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/atmos/camo","description":":lock: an http proxy to route images through SSL","fork":false,"url":"https://api.github.com/repos/atmos/camo","forks_url":"https://api.github.com/repos/atmos/camo/forks","keys_url":"https://api.github.com/repos/atmos/camo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/atmos/camo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/atmos/camo/teams","hooks_url":"https://api.github.com/repos/atmos/camo/hooks","issue_events_url":"https://api.github.com/repos/atmos/camo/issues/events{/number}","events_url":"https://api.github.com/repos/atmos/camo/events","assignees_url":"https://api.github.com/repos/atmos/camo/assignees{/user}","branches_url":"https://api.github.com/repos/atmos/camo/branches{/branch}","tags_url":"https://api.github.com/repos/atmos/camo/tags","blobs_url":"https://api.github.com/repos/atmos/camo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/atmos/camo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/atmos/camo/git/refs{/sha}","trees_url":"https://api.github.com/repos/atmos/camo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/atmos/camo/statuses/{sha}","languages_url":"https://api.github.com/repos/atmos/camo/languages","stargazers_url":"https://api.github.com/repos/atmos/camo/stargazers","contributors_url":"https://api.github.com/repos/atmos/camo/contributors","subscribers_url":"https://api.github.com/repos/atmos/camo/subscribers","subscription_url":"https://api.github.com/repos/atmos/camo/subscription","commits_url":"https://api.github.com/repos/atmos/camo/commits{/sha}","git_commits_url":"https://api.github.com/repos/atmos/camo/git/commits{/sha}","comments_url":"https://api.github.com/repos/atmos/camo/comments{/number}","issue_comment_url":"https://api.github.com/repos/atmos/camo/issues/comments{/number}","contents_url":"https://api.github.com/repos/atmos/camo/contents/{+path}","compare_url":"https://api.github.com/repos/atmos/camo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/atmos/camo/merges","archive_url":"https://api.github.com/repos/atmos/camo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/atmos/camo/downloads","issues_url":"https://api.github.com/repos/atmos/camo/issues{/number}","pulls_url":"https://api.github.com/repos/atmos/camo/pulls{/number}","milestones_url":"https://api.github.com/repos/atmos/camo/milestones{/number}","notifications_url":"https://api.github.com/repos/atmos/camo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/atmos/camo/labels{/name}","releases_url":"https://api.github.com/repos/atmos/camo/releases{/id}","deployments_url":"https://api.github.com/repos/atmos/camo/deployments","created_at":"2010-11-13T02:56:46Z","updated_at":"2018-02-28T14:13:24Z","pushed_at":"2018-02-08T22:14:22Z","git_url":"git://github.com/atmos/camo.git","ssh_url":"git@github.com:atmos/camo.git","clone_url":"https://github.com/atmos/camo.git","svn_url":"https://github.com/atmos/camo","homepage":"","size":215,"stargazers_count":1107,"watchers_count":1107,"language":"CoffeeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":185,"mirror_url":null,"archived":false,"open_issues_count":15,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":185,"open_issues":15,"watchers":1107,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/atmos/camo/pulls/139"},"html":{"href":"https://github.com/atmos/camo/pull/139"},"issue":{"href":"https://api.github.com/repos/atmos/camo/issues/139"},"comments":{"href":"https://api.github.com/repos/atmos/camo/issues/139/comments"},"review_comments":{"href":"https://api.github.com/repos/atmos/camo/pulls/139/comments"},"review_comment":{"href":"https://api.github.com/repos/atmos/camo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/atmos/camo/pulls/139/commits"},"statuses":{"href":"https://api.github.com/repos/atmos/camo/statuses/4fb16d205e31ec57f6a62094da61225a9f1e56f7"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":34,"deletions":4,"changed_files":2}}
{"actor":{"display_login":"di"}}