Skip to content

Server responds with invalid accept-range header #1003

Description

@piotr-cz

I'm trying to resume a partial download, but it doesn't work:

  • response contains accept-range: bytes header instead of Accept-Ranges
  • requesting partial content results in 200 OK status code and full payload instead of 206 Partial Content and partial payload

Reproduction:

curl -s -r 0-99 -o NUL -D - https://nodejs.org/dist/v24.14.0/node-v24.14.0-linux-x64.tar.xz

HTTP/1.1 200 OK
Date: Fri, 14 Aug 2026 10:16:23 GMT
Content-Type: application/x-xz
Content-Length: 31039304
Connection: keep-alive
CF-Cache-Status: HIT
Age: 13618
Cache-Control: public, max-age=3600, s-maxage=14400
ETag: "f8ec61ff24aa3773ca0732c66f326670"
Last-Modified: Tue, 24 Feb 2026 05:44:03 GMT
accept-range: bytes
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
X-Content-Type-Options: nosniff
Server: cloudflare
CF-RAY: a2af342a2dab4516-TXL

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