Skip to content

iojs.org doesn't support resumable downloads #424

Description

@ljharb

Run this command twice:
curl --progress-bar -L -C - https://iojs.org/dist/v1.0.1/iojs-v1.0.1-darwin-x64.tar.gz -o /tmp/iojs.tar.gz

The first time, it works just fine. The second time, the -C - should tell curl to try to resume the download, and since it's at 100%, it shouldn't download anything. Instead, I get curl: (33) HTTP server doesn't seem to support byte ranges. Cannot resume.

Activity

  1. rvagg commented on Jan 14, 2015

    @rvagg
    Member
  2. silverwind commented on Jan 15, 2015

    @silverwind
    Contributor

    gzip disables ranges support inside its server/location section (here's why). One possible solution would be to put the big files inside its own location section with gzip disabled. Will do a PR.

  3. silverwind commented on Jan 15, 2015

    @silverwind
    Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions