{"action":"closed","issue":{"url":"https://api.github.com/repos/c9s/Pux/issues/98","labels_url":"https://api.github.com/repos/c9s/Pux/issues/98/labels{/name}","comments_url":"https://api.github.com/repos/c9s/Pux/issues/98/comments","events_url":"https://api.github.com/repos/c9s/Pux/issues/98/events","html_url":"https://github.com/c9s/Pux/issues/98","id":103937362,"number":98,"title":"SAPIResponder should handle header array well","user":{"login":"c9s","id":50894,"avatar_url":"https://avatars.githubusercontent.com/u/50894?v=3","gravatar_id":"","url":"https://api.github.com/users/c9s","html_url":"https://github.com/c9s","followers_url":"https://api.github.com/users/c9s/followers","following_url":"https://api.github.com/users/c9s/following{/other_user}","gists_url":"https://api.github.com/users/c9s/gists{/gist_id}","starred_url":"https://api.github.com/users/c9s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c9s/subscriptions","organizations_url":"https://api.github.com/users/c9s/orgs","repos_url":"https://api.github.com/users/c9s/repos","events_url":"https://api.github.com/users/c9s/events{/privacy}","received_events_url":"https://api.github.com/users/c9s/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/c9s/Pux/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-30T18:12:45Z","updated_at":"2015-08-31T02:59:35Z","closed_at":"2015-08-31T02:59:35Z","body":"The header array in the response array can be a List or a Map.\r\n\r\n```php\r\n\r\nforeach ($headers as $h => $v) {\r\n    if (is_numeric($h)) {  ... header in list }\r\n    else if (is_string($h)) { ... header in map format }\r\n}\r\n\r\n```"}}