{"action":"created","issue":{"url":"https://api.github.com/repos/battlejj/express-force-ssl/issues/17","labels_url":"https://api.github.com/repos/battlejj/express-force-ssl/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/battlejj/express-force-ssl/issues/17/comments","events_url":"https://api.github.com/repos/battlejj/express-force-ssl/issues/17/events","html_url":"https://github.com/battlejj/express-force-ssl/pull/17","id":60902207,"number":17,"title":"Add option to prevent redirects","user":{"login":"cltatman","id":6932310,"avatar_url":"https://avatars.githubusercontent.com/u/6932310?v=3","gravatar_id":"","url":"https://api.github.com/users/cltatman","html_url":"https://github.com/cltatman","followers_url":"https://api.github.com/users/cltatman/followers","following_url":"https://api.github.com/users/cltatman/following{/other_user}","gists_url":"https://api.github.com/users/cltatman/gists{/gist_id}","starred_url":"https://api.github.com/users/cltatman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cltatman/subscriptions","organizations_url":"https://api.github.com/users/cltatman/orgs","repos_url":"https://api.github.com/users/cltatman/repos","events_url":"https://api.github.com/users/cltatman/events{/privacy}","received_events_url":"https://api.github.com/users/cltatman/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-03-12T21:05:07Z","updated_at":"2015-03-13T17:32:58Z","closed_at":"2015-03-13T00:54:30Z","pull_request":{"url":"https://api.github.com/repos/battlejj/express-force-ssl/pulls/17","html_url":"https://github.com/battlejj/express-force-ssl/pull/17","diff_url":"https://github.com/battlejj/express-force-ssl/pull/17.diff","patch_url":"https://github.com/battlejj/express-force-ssl/pull/17.patch"},"body":"I needed to prevent redirects from HTTP to HTTPS for GET requests, this introduces an `options` arg and an `allowRedirects` option (default `true`, previous behavior). Updates usage in README, tests, examples"},"comment":{"url":"https://api.github.com/repos/battlejj/express-force-ssl/issues/comments/79166201","html_url":"https://github.com/battlejj/express-force-ssl/pull/17#issuecomment-79166201","issue_url":"https://api.github.com/repos/battlejj/express-force-ssl/issues/17","id":79166201,"user":{"login":"battlejj","id":602455,"avatar_url":"https://avatars.githubusercontent.com/u/602455?v=3","gravatar_id":"","url":"https://api.github.com/users/battlejj","html_url":"https://github.com/battlejj","followers_url":"https://api.github.com/users/battlejj/followers","following_url":"https://api.github.com/users/battlejj/following{/other_user}","gists_url":"https://api.github.com/users/battlejj/gists{/gist_id}","starred_url":"https://api.github.com/users/battlejj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/battlejj/subscriptions","organizations_url":"https://api.github.com/users/battlejj/orgs","repos_url":"https://api.github.com/users/battlejj/repos","events_url":"https://api.github.com/users/battlejj/events{/privacy}","received_events_url":"https://api.github.com/users/battlejj/received_events","type":"User","site_admin":false},"created_at":"2015-03-13T17:32:58Z","updated_at":"2015-03-13T17:32:58Z","body":"Interesting, thanks for all of the feedback. Would you mind if I opened an issue on the main repo so I can remind myself to look into this? \r\n\r\n I would ideally like to think of a solution to these per route configurations that gives developers the flexibility they are looking for without having to change the current usage. I have a current idea, but I am about to go out of town for the weekend and won't be able to work on it until next week sometime.\r\n\r\n"}}