{"action":"opened","issue":{"url":"https://api.github.com/repos/infobip/infobip-api-php-client/issues/6","repository_url":"https://api.github.com/repos/infobip/infobip-api-php-client","labels_url":"https://api.github.com/repos/infobip/infobip-api-php-client/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/infobip/infobip-api-php-client/issues/6/comments","events_url":"https://api.github.com/repos/infobip/infobip-api-php-client/issues/6/events","html_url":"https://github.com/infobip/infobip-api-php-client/issues/6","id":154994825,"number":6,"title":"Impossible to get HTTP response status","user":{"login":"webarchitect609","id":11293610,"avatar_url":"https://avatars.githubusercontent.com/u/11293610?v=3","gravatar_id":"","url":"https://api.github.com/users/webarchitect609","html_url":"https://github.com/webarchitect609","followers_url":"https://api.github.com/users/webarchitect609/followers","following_url":"https://api.github.com/users/webarchitect609/following{/other_user}","gists_url":"https://api.github.com/users/webarchitect609/gists{/gist_id}","starred_url":"https://api.github.com/users/webarchitect609/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webarchitect609/subscriptions","organizations_url":"https://api.github.com/users/webarchitect609/orgs","repos_url":"https://api.github.com/users/webarchitect609/repos","events_url":"https://api.github.com/users/webarchitect609/events{/privacy}","received_events_url":"https://api.github.com/users/webarchitect609/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-16T09:41:22Z","updated_at":"2016-05-16T09:41:22Z","closed_at":null,"body":"Method \\infobip\\api\\AbstractApiClient::executeRequest incapsulate HTTP response status and it's impossible to get it. There are a lot of situations where it needs to be defined. For example: https://dev.infobip.com/docs/2fa-status-codes-and-error-details or https://dev.infobip.com/docs/send-single-sms \r\n\r\nAlso it's possible to get exception with HTML (not json) content and without HTTP status information client code unable to handle it in a good way! \r\nhttp://joxi.ru/12MjQ5f4YOEeAJ?d=1"}}