{"action":"opened","issue":{"url":"https://api.github.com/repos/DataDog/dd-agent/issues/1403","labels_url":"https://api.github.com/repos/DataDog/dd-agent/issues/1403/labels{/name}","comments_url":"https://api.github.com/repos/DataDog/dd-agent/issues/1403/comments","events_url":"https://api.github.com/repos/DataDog/dd-agent/issues/1403/events","html_url":"https://github.com/DataDog/dd-agent/issues/1403","id":59240413,"number":1403,"title":"http_check - define success","user":{"login":"rmoriz","id":1527,"avatar_url":"https://avatars.githubusercontent.com/u/1527?v=3","gravatar_id":"","url":"https://api.github.com/users/rmoriz","html_url":"https://github.com/rmoriz","followers_url":"https://api.github.com/users/rmoriz/followers","following_url":"https://api.github.com/users/rmoriz/following{/other_user}","gists_url":"https://api.github.com/users/rmoriz/gists{/gist_id}","starred_url":"https://api.github.com/users/rmoriz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmoriz/subscriptions","organizations_url":"https://api.github.com/users/rmoriz/orgs","repos_url":"https://api.github.com/users/rmoriz/repos","events_url":"https://api.github.com/users/rmoriz/events{/privacy}","received_events_url":"https://api.github.com/users/rmoriz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-27T14:10:19Z","updated_at":"2015-02-27T14:10:19Z","closed_at":null,"body":"Sometimes you need to check the negativity of a request, e.g. to see if a login form appears using HTTP 403 - this currently fails because the check uses `requests.exceptions.HTTPError` and there is no configuration option to customize it.\r\n\r\nI wish there was an option to specify the explicit HTTP return code per http_check.\r\n\r\n"}}