{"action":"created","issue":{"url":"https://api.github.com/repos/mgcrea/redux-rest-resource/issues/26","repository_url":"https://api.github.com/repos/mgcrea/redux-rest-resource","labels_url":"https://api.github.com/repos/mgcrea/redux-rest-resource/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/mgcrea/redux-rest-resource/issues/26/comments","events_url":"https://api.github.com/repos/mgcrea/redux-rest-resource/issues/26/events","html_url":"https://github.com/mgcrea/redux-rest-resource/pull/26","id":295182184,"number":26,"title":"Support Partial Content (206) for `fetch` action","user":{"login":"rmarquois","id":1659282,"avatar_url":"https://avatars0.githubusercontent.com/u/1659282?v=4","gravatar_id":"","url":"https://api.github.com/users/rmarquois","html_url":"https://github.com/rmarquois","followers_url":"https://api.github.com/users/rmarquois/followers","following_url":"https://api.github.com/users/rmarquois/following{/other_user}","gists_url":"https://api.github.com/users/rmarquois/gists{/gist_id}","starred_url":"https://api.github.com/users/rmarquois/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmarquois/subscriptions","organizations_url":"https://api.github.com/users/rmarquois/orgs","repos_url":"https://api.github.com/users/rmarquois/repos","events_url":"https://api.github.com/users/rmarquois/events{/privacy}","received_events_url":"https://api.github.com/users/rmarquois/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-07T15:34:19Z","updated_at":"2018-02-09T10:03:32Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/mgcrea/redux-rest-resource/pulls/26","html_url":"https://github.com/mgcrea/redux-rest-resource/pull/26","diff_url":"https://github.com/mgcrea/redux-rest-resource/pull/26.diff","patch_url":"https://github.com/mgcrea/redux-rest-resource/pull/26.patch"},"body":"I added this feature to deal with Partial Content requests :\r\n- Partial Content request is automatically detected (when status is 206)\r\n- each item of `response.body` array is added to the `items` reducer array according to the `Content-Range` header (see https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Range)\r\n\r\nI've already done a PR for this feature (#24) but it was not enough flexible and too generic. I think it can be closed."},"comment":{"url":"https://api.github.com/repos/mgcrea/redux-rest-resource/issues/comments/364389948","html_url":"https://github.com/mgcrea/redux-rest-resource/pull/26#issuecomment-364389948","issue_url":"https://api.github.com/repos/mgcrea/redux-rest-resource/issues/26","id":364389948,"user":{"login":"mgcrea","id":108273,"avatar_url":"https://avatars1.githubusercontent.com/u/108273?v=4","gravatar_id":"","url":"https://api.github.com/users/mgcrea","html_url":"https://github.com/mgcrea","followers_url":"https://api.github.com/users/mgcrea/followers","following_url":"https://api.github.com/users/mgcrea/following{/other_user}","gists_url":"https://api.github.com/users/mgcrea/gists{/gist_id}","starred_url":"https://api.github.com/users/mgcrea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgcrea/subscriptions","organizations_url":"https://api.github.com/users/mgcrea/orgs","repos_url":"https://api.github.com/users/mgcrea/repos","events_url":"https://api.github.com/users/mgcrea/events{/privacy}","received_events_url":"https://api.github.com/users/mgcrea/received_events","type":"User","site_admin":false},"created_at":"2018-02-09T10:03:32Z","updated_at":"2018-02-09T10:03:32Z","author_association":"OWNER","body":"Looks more generic but still missing unit tests to be merged. I'll try to look into it.\r\n\r\nThanks for the PR!"}}
{"actor":{"display_login":"mgcrea"}}