{"action":"created","issue":{"url":"https://api.github.com/repos/aelsabbahy/goss/issues/168","repository_url":"https://api.github.com/repos/aelsabbahy/goss","labels_url":"https://api.github.com/repos/aelsabbahy/goss/issues/168/labels{/name}","comments_url":"https://api.github.com/repos/aelsabbahy/goss/issues/168/comments","events_url":"https://api.github.com/repos/aelsabbahy/goss/issues/168/events","html_url":"https://github.com/aelsabbahy/goss/pull/168","id":187987969,"number":168,"title":"Added NoFollowRedirects option, closes #160","user":{"login":"tdi","id":376847,"avatar_url":"https://avatars.githubusercontent.com/u/376847?v=3","gravatar_id":"","url":"https://api.github.com/users/tdi","html_url":"https://github.com/tdi","followers_url":"https://api.github.com/users/tdi/followers","following_url":"https://api.github.com/users/tdi/following{/other_user}","gists_url":"https://api.github.com/users/tdi/gists{/gist_id}","starred_url":"https://api.github.com/users/tdi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tdi/subscriptions","organizations_url":"https://api.github.com/users/tdi/orgs","repos_url":"https://api.github.com/users/tdi/repos","events_url":"https://api.github.com/users/tdi/events{/privacy}","received_events_url":"https://api.github.com/users/tdi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-08T13:11:21Z","updated_at":"2016-11-08T16:41:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/aelsabbahy/goss/pulls/168","html_url":"https://github.com/aelsabbahy/goss/pull/168","diff_url":"https://github.com/aelsabbahy/goss/pull/168.diff","patch_url":"https://github.com/aelsabbahy/goss/pull/168.patch"},"body":"I added reversed boolean option `no-follow-redirects` in order not to break compatibility with the previous versions. If you think that it is better to have `follow-redirects` then I can reverse and rebase. \r\n\r\nAnother idea is to make this flag and json elements optional but from the overall code convention I can see that all are required. \r\n\r\nUsage: (added `-r` to say \"do not follow redirects)\r\n\r\n```\r\n➜  resource git:(master) goss add http http://wp.pl/ -r\r\nAdding HTTP to './goss.yaml':\r\n\r\nhttp://wp.pl/:\r\n  status: 301\r\n  allow-insecure: false\r\n  no-follow-redirects: true\r\n  timeout: 5000\r\n  body: []\r\n```\r\n\r\nPlease comment and review. "},"comment":{"url":"https://api.github.com/repos/aelsabbahy/goss/issues/comments/259188989","html_url":"https://github.com/aelsabbahy/goss/pull/168#issuecomment-259188989","issue_url":"https://api.github.com/repos/aelsabbahy/goss/issues/168","id":259188989,"user":{"login":"tdi","id":376847,"avatar_url":"https://avatars.githubusercontent.com/u/376847?v=3","gravatar_id":"","url":"https://api.github.com/users/tdi","html_url":"https://github.com/tdi","followers_url":"https://api.github.com/users/tdi/followers","following_url":"https://api.github.com/users/tdi/following{/other_user}","gists_url":"https://api.github.com/users/tdi/gists{/gist_id}","starred_url":"https://api.github.com/users/tdi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tdi/subscriptions","organizations_url":"https://api.github.com/users/tdi/orgs","repos_url":"https://api.github.com/users/tdi/repos","events_url":"https://api.github.com/users/tdi/events{/privacy}","received_events_url":"https://api.github.com/users/tdi/received_events","type":"User","site_admin":false},"created_at":"2016-11-08T16:41:02Z","updated_at":"2016-11-08T16:41:02Z","body":"@aelsabbahy Ok no problem. I will get back when I do. "}}
{"actor":{"display_login":"tdi"}}