{"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":7,"created_at":"2015-03-12T21:05:07Z","updated_at":"2015-03-13T17:12:38Z","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/79146340","html_url":"https://github.com/battlejj/express-force-ssl/pull/17#issuecomment-79146340","issue_url":"https://api.github.com/repos/battlejj/express-force-ssl/issues/17","id":79146340,"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},"created_at":"2015-03-13T17:12:38Z","updated_at":"2015-03-13T17:12:38Z","body":"if your app has several different concerns (API, user-facing pages, integration with sister systems, etc.) global configuration will probably become painful. with per-route configuration it's pretty easy for a user to maintain their own 'global' configuration by referencing options stored in a separate config file"}}