Closed jonathonf closed 3 years ago
The server apparently doesn't support range requests. This is a known issue for GitLab.
zsync2 does not support downloading from HTTP 200 responses. You should just download the file normally.
For the record: this does not have anything to do with it being HTTP 2. It's the lack of range requests.
this does not have anything to do with it being HTTP 2.
Not sure that's correct - the test is specifically for HTTP/1
and that means it will never download from an HTTP/2 server.
The lack of range requests is unrelated, it's just a "bad" example of a download location from that perspective.
Edit: to confirm, with #57 the error changes to the expected response for a lack of partial content:
zsync_legacy:
zsync received a data response (code 200) but this is not a partial content response
zsync can only work with servers that support returning partial content from files. The person/entity creating this .zsync has tried to use a server that is not returning partial content. zsync cannot be used with this server.
Confirmed that #57 makes it work with HTTP/2 properly. Thanks for your contribution!
Running under Arch Linux with
zsync2 version 2.0.0-alpha-1 (commit 486fc9a)
, when attempting to download from an HTTP/2-enabled serverzsync2
fails with the error:Verbose download output: