{"action":"created","issue":{"url":"https://api.github.com/repos/electron-userland/electron-builder/issues/2673","repository_url":"https://api.github.com/repos/electron-userland/electron-builder","labels_url":"https://api.github.com/repos/electron-userland/electron-builder/issues/2673/labels{/name}","comments_url":"https://api.github.com/repos/electron-userland/electron-builder/issues/2673/comments","events_url":"https://api.github.com/repos/electron-userland/electron-builder/issues/2673/events","html_url":"https://github.com/electron-userland/electron-builder/issues/2673","id":303108398,"number":2673,"title":"DifferentialDownloader checks for Accept-Ranges but...why?","user":{"login":"meekaah","id":593670,"avatar_url":"https://avatars1.githubusercontent.com/u/593670?v=4","gravatar_id":"","url":"https://api.github.com/users/meekaah","html_url":"https://github.com/meekaah","followers_url":"https://api.github.com/users/meekaah/followers","following_url":"https://api.github.com/users/meekaah/following{/other_user}","gists_url":"https://api.github.com/users/meekaah/gists{/gist_id}","starred_url":"https://api.github.com/users/meekaah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meekaah/subscriptions","organizations_url":"https://api.github.com/users/meekaah/orgs","repos_url":"https://api.github.com/users/meekaah/repos","events_url":"https://api.github.com/users/meekaah/events{/privacy}","received_events_url":"https://api.github.com/users/meekaah/received_events","type":"User","site_admin":false},"labels":[{"id":516691539,"url":"https://api.github.com/repos/electron-userland/electron-builder/labels/electron-updater","name":"electron-updater","color":"5319e7","default":false},{"id":269626534,"url":"https://api.github.com/repos/electron-userland/electron-builder/labels/investigate","name":"investigate","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-07T13:58:26Z","updated_at":"2018-03-07T19:43:58Z","closed_at":null,"author_association":"NONE","body":"<!-- Which version of electron-builder are you using? -->\r\n<!-- Please always try to use latest version before report. -->\r\n* **Version**: 20.0.8\r\n\r\n<!-- Which version of electron-updater are you using (if applicable)? -->\r\n\r\n<!-- What target are you building for? -->\r\n* **Target**: Windows\r\n\r\n<!-- Enter your issue details below this comment. -->\r\n<!-- If you want, you can donate to increase issue priority (https://www.electron.build/donate) -->\r\nThe DifferentialDownloader checks the Accept-Ranges header to know if the server supports multiple range requests, and falls back to full download if the header is not present with the following error: Server doesn't support Accept-Ranges\r\n\r\nThis seems REALLY weird to check the Accept-Ranges header in this case, but to download the embedded blockmap the code doesn't check if the Accept-Ranges header is present or not.\r\n\r\nIn my case I use Microsoft Azure Blog Storage to host my generic server, it doesn't return the Accept-Ranges header, but it DOES support it (as the download of the embedded blockmap works) but after that it \"fails\" to download the differential blocks because of the missing header..\r\n"},"comment":{"url":"https://api.github.com/repos/electron-userland/electron-builder/issues/comments/371260403","html_url":"https://github.com/electron-userland/electron-builder/issues/2673#issuecomment-371260403","issue_url":"https://api.github.com/repos/electron-userland/electron-builder/issues/2673","id":371260403,"user":{"login":"meekaah","id":593670,"avatar_url":"https://avatars1.githubusercontent.com/u/593670?v=4","gravatar_id":"","url":"https://api.github.com/users/meekaah","html_url":"https://github.com/meekaah","followers_url":"https://api.github.com/users/meekaah/followers","following_url":"https://api.github.com/users/meekaah/following{/other_user}","gists_url":"https://api.github.com/users/meekaah/gists{/gist_id}","starred_url":"https://api.github.com/users/meekaah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meekaah/subscriptions","organizations_url":"https://api.github.com/users/meekaah/orgs","repos_url":"https://api.github.com/users/meekaah/repos","events_url":"https://api.github.com/users/meekaah/events{/privacy}","received_events_url":"https://api.github.com/users/meekaah/received_events","type":"User","site_admin":false},"created_at":"2018-03-07T19:43:58Z","updated_at":"2018-03-07T19:43:58Z","author_association":"NONE","body":"good question, anyways i thought i should create the issue even though i found a workaround on my end (it might not be the case for everyone). I just set the useMultipleRangeRequest for my azure provider and works fine."}}
{"actor":{"display_login":"meekaah"}}