{"action":"closed","number":14,"pull_request":{"url":"https://api.github.com/repos/martini-contrib/secure/pulls/14","id":34934793,"html_url":"https://github.com/martini-contrib/secure/pull/14","diff_url":"https://github.com/martini-contrib/secure/pull/14.diff","patch_url":"https://github.com/martini-contrib/secure/pull/14.patch","issue_url":"https://api.github.com/repos/martini-contrib/secure/issues/14","number":14,"state":"closed","locked":false,"title":"HTTP redirect to HTTPS example","user":{"login":"Putti","id":5437503,"avatar_url":"https://avatars.githubusercontent.com/u/5437503?v=3","gravatar_id":"","url":"https://api.github.com/users/Putti","html_url":"https://github.com/Putti","followers_url":"https://api.github.com/users/Putti/followers","following_url":"https://api.github.com/users/Putti/following{/other_user}","gists_url":"https://api.github.com/users/Putti/gists{/gist_id}","starred_url":"https://api.github.com/users/Putti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Putti/subscriptions","organizations_url":"https://api.github.com/users/Putti/orgs","repos_url":"https://api.github.com/users/Putti/repos","events_url":"https://api.github.com/users/Putti/events{/privacy}","received_events_url":"https://api.github.com/users/Putti/received_events","type":"User","site_admin":false},"body":"HTTPS redirection for static files didn't work with the example code under \"Redirecting HTTP to HTTPS\". I changed the code to correspond with the instructions given in the first sentence of the README file: \"Make sure to include the secure middleware as close to the top as possible\". Now the code works as expected.","created_at":"2015-05-07T16:42:41Z","updated_at":"2015-05-08T16:03:47Z","closed_at":"2015-05-08T16:03:47Z","merged_at":"2015-05-08T16:03:47Z","merge_commit_sha":"d6cf0ad3cb60fa64ebf11e23ac1119063c6a65b9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/martini-contrib/secure/pulls/14/commits","review_comments_url":"https://api.github.com/repos/martini-contrib/secure/pulls/14/comments","review_comment_url":"https://api.github.com/repos/martini-contrib/secure/pulls/comments{/number}","comments_url":"https://api.github.com/repos/martini-contrib/secure/issues/14/comments","statuses_url":"https://api.github.com/repos/martini-contrib/secure/statuses/c440c0df167237b93b84d5a11d44adaff79d218a","head":{"label":"Putti:readme-fix","ref":"readme-fix","sha":"c440c0df167237b93b84d5a11d44adaff79d218a","user":{"login":"Putti","id":5437503,"avatar_url":"https://avatars.githubusercontent.com/u/5437503?v=3","gravatar_id":"","url":"https://api.github.com/users/Putti","html_url":"https://github.com/Putti","followers_url":"https://api.github.com/users/Putti/followers","following_url":"https://api.github.com/users/Putti/following{/other_user}","gists_url":"https://api.github.com/users/Putti/gists{/gist_id}","starred_url":"https://api.github.com/users/Putti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Putti/subscriptions","organizations_url":"https://api.github.com/users/Putti/orgs","repos_url":"https://api.github.com/users/Putti/repos","events_url":"https://api.github.com/users/Putti/events{/privacy}","received_events_url":"https://api.github.com/users/Putti/received_events","type":"User","site_admin":false},"repo":{"id":35230502,"name":"secure","full_name":"Putti/secure","owner":{"login":"Putti","id":5437503,"avatar_url":"https://avatars.githubusercontent.com/u/5437503?v=3","gravatar_id":"","url":"https://api.github.com/users/Putti","html_url":"https://github.com/Putti","followers_url":"https://api.github.com/users/Putti/followers","following_url":"https://api.github.com/users/Putti/following{/other_user}","gists_url":"https://api.github.com/users/Putti/gists{/gist_id}","starred_url":"https://api.github.com/users/Putti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Putti/subscriptions","organizations_url":"https://api.github.com/users/Putti/orgs","repos_url":"https://api.github.com/users/Putti/repos","events_url":"https://api.github.com/users/Putti/events{/privacy}","received_events_url":"https://api.github.com/users/Putti/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Putti/secure","description":"Martini handler that implements a few quick security wins.","fork":true,"url":"https://api.github.com/repos/Putti/secure","forks_url":"https://api.github.com/repos/Putti/secure/forks","keys_url":"https://api.github.com/repos/Putti/secure/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Putti/secure/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Putti/secure/teams","hooks_url":"https://api.github.com/repos/Putti/secure/hooks","issue_events_url":"https://api.github.com/repos/Putti/secure/issues/events{/number}","events_url":"https://api.github.com/repos/Putti/secure/events","assignees_url":"https://api.github.com/repos/Putti/secure/assignees{/user}","branches_url":"https://api.github.com/repos/Putti/secure/branches{/branch}","tags_url":"https://api.github.com/repos/Putti/secure/tags","blobs_url":"https://api.github.com/repos/Putti/secure/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Putti/secure/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Putti/secure/git/refs{/sha}","trees_url":"https://api.github.com/repos/Putti/secure/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Putti/secure/statuses/{sha}","languages_url":"https://api.github.com/repos/Putti/secure/languages","stargazers_url":"https://api.github.com/repos/Putti/secure/stargazers","contributors_url":"https://api.github.com/repos/Putti/secure/contributors","subscribers_url":"https://api.github.com/repos/Putti/secure/subscribers","subscription_url":"https://api.github.com/repos/Putti/secure/subscription","commits_url":"https://api.github.com/repos/Putti/secure/commits{/sha}","git_commits_url":"https://api.github.com/repos/Putti/secure/git/commits{/sha}","comments_url":"https://api.github.com/repos/Putti/secure/comments{/number}","issue_comment_url":"https://api.github.com/repos/Putti/secure/issues/comments{/number}","contents_url":"https://api.github.com/repos/Putti/secure/contents/{+path}","compare_url":"https://api.github.com/repos/Putti/secure/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Putti/secure/merges","archive_url":"https://api.github.com/repos/Putti/secure/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Putti/secure/downloads","issues_url":"https://api.github.com/repos/Putti/secure/issues{/number}","pulls_url":"https://api.github.com/repos/Putti/secure/pulls{/number}","milestones_url":"https://api.github.com/repos/Putti/secure/milestones{/number}","notifications_url":"https://api.github.com/repos/Putti/secure/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Putti/secure/labels{/name}","releases_url":"https://api.github.com/repos/Putti/secure/releases{/id}","created_at":"2015-05-07T16:17:34Z","updated_at":"2015-05-07T16:17:34Z","pushed_at":"2015-05-08T05:12:25Z","git_url":"git://github.com/Putti/secure.git","ssh_url":"git@github.com:Putti/secure.git","clone_url":"https://github.com/Putti/secure.git","svn_url":"https://github.com/Putti/secure","homepage":null,"size":92,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"martini-contrib:master","ref":"master","sha":"56b905eb8ab2eb124d2f4acfa3ea893df45b7d79","user":{"login":"martini-contrib","id":6625638,"avatar_url":"https://avatars.githubusercontent.com/u/6625638?v=3","gravatar_id":"","url":"https://api.github.com/users/martini-contrib","html_url":"https://github.com/martini-contrib","followers_url":"https://api.github.com/users/martini-contrib/followers","following_url":"https://api.github.com/users/martini-contrib/following{/other_user}","gists_url":"https://api.github.com/users/martini-contrib/gists{/gist_id}","starred_url":"https://api.github.com/users/martini-contrib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martini-contrib/subscriptions","organizations_url":"https://api.github.com/users/martini-contrib/orgs","repos_url":"https://api.github.com/users/martini-contrib/repos","events_url":"https://api.github.com/users/martini-contrib/events{/privacy}","received_events_url":"https://api.github.com/users/martini-contrib/received_events","type":"Organization","site_admin":false},"repo":{"id":16653041,"name":"secure","full_name":"martini-contrib/secure","owner":{"login":"martini-contrib","id":6625638,"avatar_url":"https://avatars.githubusercontent.com/u/6625638?v=3","gravatar_id":"","url":"https://api.github.com/users/martini-contrib","html_url":"https://github.com/martini-contrib","followers_url":"https://api.github.com/users/martini-contrib/followers","following_url":"https://api.github.com/users/martini-contrib/following{/other_user}","gists_url":"https://api.github.com/users/martini-contrib/gists{/gist_id}","starred_url":"https://api.github.com/users/martini-contrib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martini-contrib/subscriptions","organizations_url":"https://api.github.com/users/martini-contrib/orgs","repos_url":"https://api.github.com/users/martini-contrib/repos","events_url":"https://api.github.com/users/martini-contrib/events{/privacy}","received_events_url":"https://api.github.com/users/martini-contrib/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/martini-contrib/secure","description":"Martini handler that implements a few quick security wins.","fork":false,"url":"https://api.github.com/repos/martini-contrib/secure","forks_url":"https://api.github.com/repos/martini-contrib/secure/forks","keys_url":"https://api.github.com/repos/martini-contrib/secure/keys{/key_id}","collaborators_url":"https://api.github.com/repos/martini-contrib/secure/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/martini-contrib/secure/teams","hooks_url":"https://api.github.com/repos/martini-contrib/secure/hooks","issue_events_url":"https://api.github.com/repos/martini-contrib/secure/issues/events{/number}","events_url":"https://api.github.com/repos/martini-contrib/secure/events","assignees_url":"https://api.github.com/repos/martini-contrib/secure/assignees{/user}","branches_url":"https://api.github.com/repos/martini-contrib/secure/branches{/branch}","tags_url":"https://api.github.com/repos/martini-contrib/secure/tags","blobs_url":"https://api.github.com/repos/martini-contrib/secure/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/martini-contrib/secure/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/martini-contrib/secure/git/refs{/sha}","trees_url":"https://api.github.com/repos/martini-contrib/secure/git/trees{/sha}","statuses_url":"https://api.github.com/repos/martini-contrib/secure/statuses/{sha}","languages_url":"https://api.github.com/repos/martini-contrib/secure/languages","stargazers_url":"https://api.github.com/repos/martini-contrib/secure/stargazers","contributors_url":"https://api.github.com/repos/martini-contrib/secure/contributors","subscribers_url":"https://api.github.com/repos/martini-contrib/secure/subscribers","subscription_url":"https://api.github.com/repos/martini-contrib/secure/subscription","commits_url":"https://api.github.com/repos/martini-contrib/secure/commits{/sha}","git_commits_url":"https://api.github.com/repos/martini-contrib/secure/git/commits{/sha}","comments_url":"https://api.github.com/repos/martini-contrib/secure/comments{/number}","issue_comment_url":"https://api.github.com/repos/martini-contrib/secure/issues/comments{/number}","contents_url":"https://api.github.com/repos/martini-contrib/secure/contents/{+path}","compare_url":"https://api.github.com/repos/martini-contrib/secure/compare/{base}...{head}","merges_url":"https://api.github.com/repos/martini-contrib/secure/merges","archive_url":"https://api.github.com/repos/martini-contrib/secure/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/martini-contrib/secure/downloads","issues_url":"https://api.github.com/repos/martini-contrib/secure/issues{/number}","pulls_url":"https://api.github.com/repos/martini-contrib/secure/pulls{/number}","milestones_url":"https://api.github.com/repos/martini-contrib/secure/milestones{/number}","notifications_url":"https://api.github.com/repos/martini-contrib/secure/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/martini-contrib/secure/labels{/name}","releases_url":"https://api.github.com/repos/martini-contrib/secure/releases{/id}","created_at":"2014-02-08T21:00:51Z","updated_at":"2015-05-05T20:33:27Z","pushed_at":"2015-05-08T16:03:47Z","git_url":"git://github.com/martini-contrib/secure.git","ssh_url":"git@github.com:martini-contrib/secure.git","clone_url":"https://github.com/martini-contrib/secure.git","svn_url":"https://github.com/martini-contrib/secure","homepage":null,"size":285,"stargazers_count":32,"watchers_count":32,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":3,"forks":6,"open_issues":3,"watchers":32,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/martini-contrib/secure/pulls/14"},"html":{"href":"https://github.com/martini-contrib/secure/pull/14"},"issue":{"href":"https://api.github.com/repos/martini-contrib/secure/issues/14"},"comments":{"href":"https://api.github.com/repos/martini-contrib/secure/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/martini-contrib/secure/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/martini-contrib/secure/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/martini-contrib/secure/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/martini-contrib/secure/statuses/c440c0df167237b93b84d5a11d44adaff79d218a"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"unrolled","id":407228,"avatar_url":"https://avatars.githubusercontent.com/u/407228?v=3","gravatar_id":"","url":"https://api.github.com/users/unrolled","html_url":"https://github.com/unrolled","followers_url":"https://api.github.com/users/unrolled/followers","following_url":"https://api.github.com/users/unrolled/following{/other_user}","gists_url":"https://api.github.com/users/unrolled/gists{/gist_id}","starred_url":"https://api.github.com/users/unrolled/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unrolled/subscriptions","organizations_url":"https://api.github.com/users/unrolled/orgs","repos_url":"https://api.github.com/users/unrolled/repos","events_url":"https://api.github.com/users/unrolled/events{/privacy}","received_events_url":"https://api.github.com/users/unrolled/received_events","type":"User","site_admin":false},"comments":5,"review_comments":0,"commits":3,"additions":4,"deletions":5,"changed_files":1}}