{"action":"closed","number":35,"pull_request":{"url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/pulls/35","id":35440518,"html_url":"https://github.com/alphagov/digitalmarketplace-utils/pull/35","diff_url":"https://github.com/alphagov/digitalmarketplace-utils/pull/35.diff","patch_url":"https://github.com/alphagov/digitalmarketplace-utils/pull/35.patch","issue_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/issues/35","number":35,"state":"closed","locked":false,"title":"[#94292928] Allow HTTP proto to be configured","user":{"login":"robyoung","id":14287,"avatar_url":"https://avatars.githubusercontent.com/u/14287?v=3","gravatar_id":"","url":"https://api.github.com/users/robyoung","html_url":"https://github.com/robyoung","followers_url":"https://api.github.com/users/robyoung/followers","following_url":"https://api.github.com/users/robyoung/following{/other_user}","gists_url":"https://api.github.com/users/robyoung/gists{/gist_id}","starred_url":"https://api.github.com/users/robyoung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robyoung/subscriptions","organizations_url":"https://api.github.com/users/robyoung/orgs","repos_url":"https://api.github.com/users/robyoung/repos","events_url":"https://api.github.com/users/robyoung/events{/privacy}","received_events_url":"https://api.github.com/users/robyoung/received_events","type":"User","site_admin":false},"body":"Provide a custom ProxyFix class that will override X-Forwarded-Proto\r\nwith a value from the Flask config. AWS ELBs set the X-Forwarded-Proto\r\nto HTTP if they're configured port 80 -> 80. Because the apps are now\r\ninternal and served over HTTP we lose the X-Forwarded-Proto that is sent\r\nby Nginx.","created_at":"2015-05-14T17:04:43Z","updated_at":"2015-05-15T08:32:08Z","closed_at":"2015-05-15T08:32:08Z","merged_at":"2015-05-15T08:32:08Z","merge_commit_sha":"e292c7d44269d38730b79289ecc704b4e1bc5bb0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/pulls/35/commits","review_comments_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/pulls/35/comments","review_comment_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/issues/35/comments","statuses_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/statuses/275415482d47f0e64c38db1c55c61a5316a4f8de","head":{"label":"alphagov:bug-94292928-email-links-not-generated-with-https","ref":"bug-94292928-email-links-not-generated-with-https","sha":"275415482d47f0e64c38db1c55c61a5316a4f8de","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":34396268,"name":"digitalmarketplace-utils","full_name":"alphagov/digitalmarketplace-utils","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/digitalmarketplace-utils","description":"Common utils for Digital Marketplace apps.","fork":false,"url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils","forks_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/forks","keys_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/teams","hooks_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/hooks","issue_events_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/events","assignees_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/tags","blobs_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/languages","stargazers_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/stargazers","contributors_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/contributors","subscribers_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/subscribers","subscription_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/subscription","commits_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/merges","archive_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/downloads","issues_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/releases{/id}","created_at":"2015-04-22T14:47:45Z","updated_at":"2015-05-08T12:25:25Z","pushed_at":"2015-05-15T08:32:08Z","git_url":"git://github.com/alphagov/digitalmarketplace-utils.git","ssh_url":"git@github.com:alphagov/digitalmarketplace-utils.git","clone_url":"https://github.com/alphagov/digitalmarketplace-utils.git","svn_url":"https://github.com/alphagov/digitalmarketplace-utils","homepage":null,"size":984,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"alphagov:master","ref":"master","sha":"81ffc7ac6807d298e79e2bfcd4c101d5b89db52c","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":34396268,"name":"digitalmarketplace-utils","full_name":"alphagov/digitalmarketplace-utils","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/digitalmarketplace-utils","description":"Common utils for Digital Marketplace apps.","fork":false,"url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils","forks_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/forks","keys_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/teams","hooks_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/hooks","issue_events_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/events","assignees_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/tags","blobs_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/languages","stargazers_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/stargazers","contributors_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/contributors","subscribers_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/subscribers","subscription_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/subscription","commits_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/merges","archive_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/downloads","issues_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/releases{/id}","created_at":"2015-04-22T14:47:45Z","updated_at":"2015-05-08T12:25:25Z","pushed_at":"2015-05-15T08:32:08Z","git_url":"git://github.com/alphagov/digitalmarketplace-utils.git","ssh_url":"git@github.com:alphagov/digitalmarketplace-utils.git","clone_url":"https://github.com/alphagov/digitalmarketplace-utils.git","svn_url":"https://github.com/alphagov/digitalmarketplace-utils","homepage":null,"size":984,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/pulls/35"},"html":{"href":"https://github.com/alphagov/digitalmarketplace-utils/pull/35"},"issue":{"href":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/issues/35"},"comments":{"href":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/issues/35/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/pulls/35/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/pulls/35/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/digitalmarketplace-utils/statuses/275415482d47f0e64c38db1c55c61a5316a4f8de"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"allait","id":246664,"avatar_url":"https://avatars.githubusercontent.com/u/246664?v=3","gravatar_id":"","url":"https://api.github.com/users/allait","html_url":"https://github.com/allait","followers_url":"https://api.github.com/users/allait/followers","following_url":"https://api.github.com/users/allait/following{/other_user}","gists_url":"https://api.github.com/users/allait/gists{/gist_id}","starred_url":"https://api.github.com/users/allait/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allait/subscriptions","organizations_url":"https://api.github.com/users/allait/orgs","repos_url":"https://api.github.com/users/allait/repos","events_url":"https://api.github.com/users/allait/events{/privacy}","received_events_url":"https://api.github.com/users/allait/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":35,"deletions":0,"changed_files":2}}