{"action":"created","issue":{"url":"https://api.github.com/repos/easydigitaldownloads/easy-digital-downloads/issues/6173","repository_url":"https://api.github.com/repos/easydigitaldownloads/easy-digital-downloads","labels_url":"https://api.github.com/repos/easydigitaldownloads/easy-digital-downloads/issues/6173/labels{/name}","comments_url":"https://api.github.com/repos/easydigitaldownloads/easy-digital-downloads/issues/6173/comments","events_url":"https://api.github.com/repos/easydigitaldownloads/easy-digital-downloads/issues/6173/events","html_url":"https://github.com/easydigitaldownloads/easy-digital-downloads/pull/6173","id":273227411,"number":6173,"title":"issue/5087 - Add support to resume downloads of large files","user":{"login":"sunnyratilal","id":1525554,"avatar_url":"https://avatars1.githubusercontent.com/u/1525554?v=4","gravatar_id":"","url":"https://api.github.com/users/sunnyratilal","html_url":"https://github.com/sunnyratilal","followers_url":"https://api.github.com/users/sunnyratilal/followers","following_url":"https://api.github.com/users/sunnyratilal/following{/other_user}","gists_url":"https://api.github.com/users/sunnyratilal/gists{/gist_id}","starred_url":"https://api.github.com/users/sunnyratilal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunnyratilal/subscriptions","organizations_url":"https://api.github.com/users/sunnyratilal/orgs","repos_url":"https://api.github.com/users/sunnyratilal/repos","events_url":"https://api.github.com/users/sunnyratilal/events{/privacy}","received_events_url":"https://api.github.com/users/sunnyratilal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-12T13:03:08Z","updated_at":"2018-03-12T22:35:41Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/easydigitaldownloads/easy-digital-downloads/pulls/6173","html_url":"https://github.com/easydigitaldownloads/easy-digital-downloads/pull/6173","diff_url":"https://github.com/easydigitaldownloads/easy-digital-downloads/pull/6173.diff","patch_url":"https://github.com/easydigitaldownloads/easy-digital-downloads/pull/6173.patch"},"body":"Resolves #5087"},"comment":{"url":"https://api.github.com/repos/easydigitaldownloads/easy-digital-downloads/issues/comments/372485473","html_url":"https://github.com/easydigitaldownloads/easy-digital-downloads/pull/6173#issuecomment-372485473","issue_url":"https://api.github.com/repos/easydigitaldownloads/easy-digital-downloads/issues/6173","id":372485473,"user":{"login":"cklosowski","id":1390124,"avatar_url":"https://avatars0.githubusercontent.com/u/1390124?v=4","gravatar_id":"","url":"https://api.github.com/users/cklosowski","html_url":"https://github.com/cklosowski","followers_url":"https://api.github.com/users/cklosowski/followers","following_url":"https://api.github.com/users/cklosowski/following{/other_user}","gists_url":"https://api.github.com/users/cklosowski/gists{/gist_id}","starred_url":"https://api.github.com/users/cklosowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cklosowski/subscriptions","organizations_url":"https://api.github.com/users/cklosowski/orgs","repos_url":"https://api.github.com/users/cklosowski/repos","events_url":"https://api.github.com/users/cklosowski/events{/privacy}","received_events_url":"https://api.github.com/users/cklosowski/received_events","type":"User","site_admin":false},"created_at":"2018-03-12T22:35:41Z","updated_at":"2018-03-12T22:35:41Z","author_association":"OWNER","body":"This all seems to work surprisingly well. To test it out I used `curl` with things like the following:\r\n\r\nGetting the first 2KB\r\n`curl --header \"Range: bytes=0-2048\" http://edd.local/index.php\\?eddfile\\=4808%3A4673%3A1%3A1\\&ttl\\=5120864898\\&file\\=1\\&token\\=2505a34acf3277f11de987fb6eee3800 -o part1`\r\n\r\nGetting the second 2KB\r\n`curl --header \"Range: bytes=2049-4096\" http://edd.local/index.php\\?eddfile\\=4808%3A4673%3A1%3A1\\&ttl\\=5120864898\\&file\\=1\\&token\\=2505a34acf3277f11de987fb6eee3800 -o part2`\r\n\r\nThis produced two files, both not equal in contents, but the expected sizes. I also tested downloading without a header and received the full file with no issues.\r\n`curl http://edd.local/index.php\\?eddfile\\=4808%3A4673%3A1%3A1\\&ttl\\=5120864898\\&file\\=1\\&token\\=2505a34acf3277f11de987fb6eee3800 -o file.pdf`"}}
{"actor":{"display_login":"cklosowski"}}