{"action":"created","issue":{"url":"https://api.github.com/repos/gin-gonic/gin/issues/359","labels_url":"https://api.github.com/repos/gin-gonic/gin/issues/359/labels{/name}","comments_url":"https://api.github.com/repos/gin-gonic/gin/issues/359/comments","events_url":"https://api.github.com/repos/gin-gonic/gin/issues/359/events","html_url":"https://github.com/gin-gonic/gin/pull/359","id":92616345,"number":359,"title":"Fix IsAborted() method","user":{"login":"adwinsky","id":311951,"avatar_url":"https://avatars.githubusercontent.com/u/311951?v=3","gravatar_id":"","url":"https://api.github.com/users/adwinsky","html_url":"https://github.com/adwinsky","followers_url":"https://api.github.com/users/adwinsky/followers","following_url":"https://api.github.com/users/adwinsky/following{/other_user}","gists_url":"https://api.github.com/users/adwinsky/gists{/gist_id}","starred_url":"https://api.github.com/users/adwinsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adwinsky/subscriptions","organizations_url":"https://api.github.com/users/adwinsky/orgs","repos_url":"https://api.github.com/users/adwinsky/repos","events_url":"https://api.github.com/users/adwinsky/events{/privacy}","received_events_url":"https://api.github.com/users/adwinsky/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-02T11:37:56Z","updated_at":"2015-07-02T14:39:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/gin-gonic/gin/pulls/359","html_url":"https://github.com/gin-gonic/gin/pull/359","diff_url":"https://github.com/gin-gonic/gin/pull/359.diff","patch_url":"https://github.com/gin-gonic/gin/pull/359.patch"},"body":"According to the documentation IsAborted() method should return true if the current context was aborted. \r\n\r\nAt the moment it  works only for the Handlers in which Abort() method was triggered. It doesn't work in the previous Handlers after the c.Next() call. It is because c.index will be higher then AbortIndex.\r\n\r\nIn my applications I would like to be able to determine whether the Context was aborted after the request was processed, without having to populate c.Errors slice."},"comment":{"url":"https://api.github.com/repos/gin-gonic/gin/issues/comments/118053594","html_url":"https://github.com/gin-gonic/gin/pull/359#issuecomment-118053594","issue_url":"https://api.github.com/repos/gin-gonic/gin/issues/359","id":118053594,"user":{"login":"adwinsky","id":311951,"avatar_url":"https://avatars.githubusercontent.com/u/311951?v=3","gravatar_id":"","url":"https://api.github.com/users/adwinsky","html_url":"https://github.com/adwinsky","followers_url":"https://api.github.com/users/adwinsky/followers","following_url":"https://api.github.com/users/adwinsky/following{/other_user}","gists_url":"https://api.github.com/users/adwinsky/gists{/gist_id}","starred_url":"https://api.github.com/users/adwinsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adwinsky/subscriptions","organizations_url":"https://api.github.com/users/adwinsky/orgs","repos_url":"https://api.github.com/users/adwinsky/repos","events_url":"https://api.github.com/users/adwinsky/events{/privacy}","received_events_url":"https://api.github.com/users/adwinsky/received_events","type":"User","site_admin":false},"created_at":"2015-07-02T14:39:29Z","updated_at":"2015-07-02T14:39:29Z","body":"Done. Hope you like this one better."}}