{"action":"created","issue":{"url":"https://api.github.com/repos/square/okhttp/issues/187","repository_url":"https://api.github.com/repos/square/okhttp","labels_url":"https://api.github.com/repos/square/okhttp/issues/187/labels{/name}","comments_url":"https://api.github.com/repos/square/okhttp/issues/187/comments","events_url":"https://api.github.com/repos/square/okhttp/issues/187/events","html_url":"https://github.com/square/okhttp/issues/187","id":14213671,"number":187,"title":"4xx & 5xx throw exceptions","user":{"login":"sdhull","id":50039,"avatar_url":"https://avatars.githubusercontent.com/u/50039?v=3","gravatar_id":"","url":"https://api.github.com/users/sdhull","html_url":"https://github.com/sdhull","followers_url":"https://api.github.com/users/sdhull/followers","following_url":"https://api.github.com/users/sdhull/following{/other_user}","gists_url":"https://api.github.com/users/sdhull/gists{/gist_id}","starred_url":"https://api.github.com/users/sdhull/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdhull/subscriptions","organizations_url":"https://api.github.com/users/sdhull/orgs","repos_url":"https://api.github.com/users/sdhull/repos","events_url":"https://api.github.com/users/sdhull/events{/privacy}","received_events_url":"https://api.github.com/users/sdhull/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2013-05-10T23:20:28Z","updated_at":"2016-11-01T16:44:26Z","closed_at":"2013-05-12T15:41:36Z","body":"I don't think I'm the only one connecting to APIs that return non-2xx status codes.\n\nIt's frustrating to handle error cases as exception cases for two reasons:\n1. These aren't truly \"exceptional\" (a la PragProg) -- sometimes you request a resource that's not there, or you try to submit params that aren't quite right.  This should be handled in regular application flow, not exception handlers.\n2. This makes it impossible to grab the `InputStream` which might contain some useful data about what went wrong (eg, error messages).\n\nIs there some way to turn off this behavior?\n"},"comment":{"url":"https://api.github.com/repos/square/okhttp/issues/comments/257619280","html_url":"https://github.com/square/okhttp/issues/187#issuecomment-257619280","issue_url":"https://api.github.com/repos/square/okhttp/issues/187","id":257619280,"user":{"login":"wsf5918","id":5617446,"avatar_url":"https://avatars.githubusercontent.com/u/5617446?v=3","gravatar_id":"","url":"https://api.github.com/users/wsf5918","html_url":"https://github.com/wsf5918","followers_url":"https://api.github.com/users/wsf5918/followers","following_url":"https://api.github.com/users/wsf5918/following{/other_user}","gists_url":"https://api.github.com/users/wsf5918/gists{/gist_id}","starred_url":"https://api.github.com/users/wsf5918/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wsf5918/subscriptions","organizations_url":"https://api.github.com/users/wsf5918/orgs","repos_url":"https://api.github.com/users/wsf5918/repos","events_url":"https://api.github.com/users/wsf5918/events{/privacy}","received_events_url":"https://api.github.com/users/wsf5918/received_events","type":"User","site_admin":false},"created_at":"2016-11-01T16:44:26Z","updated_at":"2016-11-01T16:44:26Z","body":"@JakeWharton  this is the issues for the testing log\r\nhttps://github.com/square/okhttp/issues/2952"}}
{"actor":{"display_login":"wsf5918"}}