Every resumable download on the web runs on a sentence most engineers have never read: “A server MAY ignore the Range header field.” That sentence lives in RFC 7233, the June 2014 specification for HTTP range requests — the 206 Partial Content machinery behind video seeking, PDF page fetches, package managers that pick up where the connection died, and caches that store pieces instead of wholes. The MAY is not a loophole. It is the design. The web made transfers resumable not by forcing servers to cooperate, but by writing down, with equal precision, what refusal looks like.

How HTTP Range Requests Turned a Dead Connection into Arithmetic

Before broadband, a large download was a long bet on a phone line. When the connection dropped at ninety per cent, the software’s only option was to start again from zero — and anyone who paid for dial-up by the minute remembers exactly what that cost.

Byte ranges turned the loss into arithmetic. A client that already holds the first ninety per cent asks for the rest; the server answers 206 Partial Content with a Content-Range header declaring exactly which slice it sent. The middle of a file became an addressable object, and the download stopped being all-or-nothing.

A Header That Quietly Rewrites GET

Range is unusual because it changes what GET means for one exchange. The method that normally returns a whole representation can return a slice — and the response must declare which slice, so a client stitching pieces together knows what it is holding.

The discipline lives in the edges. A server must ignore Range on any method other than GET, and must ignore a range unit it does not understand. Guessing at a unit is how a range request turns into a corrupt file.

The MAY That Carries the Whole Design

A polite protocol lets the stronger party be lazy. A server is allowed to ignore the header entirely and reply with the whole file, which is why every serious client must still handle a plain 200. The specification does ask nicely: origin servers and caches “ought to support byte ranges when possible, since Range supports efficient recovery from partially failed transfers and partial retrieval of large representations.” Ought, not must. The preference is stated; the refusal is legal.

That one-sidedness is what keeps the arrangement honest. Because refusal is always legal, no client can be locked into a server’s generosity, and no server can be locked into a client’s greed.

The limits run the other way too. Asking for many tiny ranges, or for overlapping ranges that jump around, is cheap for a client and expensive for a server. RFC 7233 permits a server to ignore or reject “more than two overlapping ranges, or a set of many small ranges that are not listed in ascending order, since both are indications of either a broken client or a deliberate denial-of-service attack.” The spec names the enemy without flinching: a broken client, or an attacker wearing one as a costume.

If-Range: Stitching Two Editions Without Creating a Monster

If-Range exists because a file can change between the first part and the rest. It lets the client say: send the remainder only if the representation is still the one I started with. Otherwise, send the whole thing fresh. Without that validator, a resumed download becomes a document assembled from two different editions — the first half of Monday’s report, the second half of Tuesday’s, stapled together with confidence and wrong.

This is the quiet service the specification provides. It is not really about bytes. It is about knowing when bytes belong together.

What the Permission Built: Seeking, Resuming, and Corrupt Files That Look Complete

Media players seek. PDF readers fetch page ranges. Package managers resume. Caches store pieces and assemble them later. None of it required the web to promise anything; all of it required a header that a server may honour and a client must not assume.

The design is more fragile than it looks and more durable than it deserves. A server that answers ranges badly produces corrupt downloads that look complete — files that open, render, and then fail in ways nobody can reproduce. The recovery mechanism quietly becomes a source of errors, and the client that trusted the slice learns the oldest lesson in protocol design: validate what arrives.

The Document Died. The Permission Didn’t.

RFC 7233 was obsoleted in June 2022 by RFC 9110, HTTP Semantics, which carries the same range rules forward under a new title. The paperwork changed. The permission survived — because it was never really the document’s idea. It was the web’s operating principle, written down once and inherited by every specification that followed.

As Lu Heng writes in his Note on Minimum Initial Specification and Voluntary Adoption: “A system that cannot be forked, locally verified, or selectively accepted without destroying valid operation has probably hidden governance power inside its recordkeeping function.” HTTP range requests pass that test in the least glamorous way imaginable. A server can decline. A client can cope. The exchange still works.

That is why the same header survives on servers that implement it well, on servers that ignore it, and on servers that only pretend. RFC 7233 has no enforcement mechanism — only a convention, and the convention held. The web’s most polite header is also one of its most load-bearing, because it asked nicely and planned for the answer no.