The wall that had no name

You land at an airport, open a laptop, ask for a page, and get a login box instead. For two decades, HTTP had no word for that wall.

It has four now. RFC 6585, “Additional HTTP Status Codes”, published in April 2012 by Mark Nottingham and Roy Fielding, added 428 Precondition Required, 429 Too Many Requests, 431 Request Header Fields Too Large and 511 Network Authentication Required to the HTTP status code registry. It runs to ten pages. It defines almost nothing. That is exactly why it worked — and why it remains the cleanest recent demonstration of what a registry is actually for.

Before 2012, the protocol could already say a page had moved (301), that you were not allowed to see it (403), that it had never existed (404), that the server had fallen over (503). What it could not say was: there is something between you and the thing you asked for, and it wants a password. Nor could it say you are asking too often, you are writing over someone else’s change, or your headers have grown larger than the server’s patience. Four ordinary situations, four missing words.

Two men and a ten-page patch

Roy Fielding is the man who named REST in his 2000 dissertation and then spent the following decade watching the industry misapply it. He also co-authored RFC 2616, the HTTP/1.1 specification that governed the web for fifteen years. Mark Nottingham chaired the IETF HTTP Working Group through the long, bruising rewrite that eventually became RFC 9110.

Between them they had spent more time inside HTTP’s grammar than almost anyone alive. What they produced in 2012 was not a redesign. It was a vocabulary patch: four situations the web met every day and could not describe.

Read the memo and the striking thing is what it refuses to do. It does not define how a server counts requests. It does not say what a rate limit should be. It does not design the login form. It does not set the header budget. It names the condition, points at the mechanism, and gets out of the way.

429 Too Many Requests: the polite refusal

The most famous of the four arrived to describe a situation every API already had: “the user has sent too many requests in a given amount of time (‘rate limiting’).” The response “SHOULD include details explaining the condition”, and may carry Retry-After telling the client how long to wait. The memo’s own example sends Retry-After: 3600 with a page that admits: “I only allow 50 requests per hour to this Web site.”

Then comes the sentence that makes the whole document worth reading: “this specification does not define how the origin server identifies the user, nor how it counts requests.” The registry supplies the word. The server supplies the arithmetic. Nobody tries to standardise the number.

Prehistory matters here. Twitter’s API had been answering over-eager clients with a non-standard 420 “Enhance Your Calm” — a stoner joke doing the work of a protocol. RFC 6585 replaced the joke with a number that meant something, and the industry adopted it with unusual speed: Stripe, GitHub, Cloudflare and most of the modern API economy now return 429 as a matter of course.

What the code does not give the client is recourse. 429 says slow down, and the party that set the limit remains the judge of it. A refusal with a timer is still a refusal.

428 Precondition Required: look before you write

428 exists to kill the lost update. A client reads a record, edits it, writes it back, and silently erases a change somebody else made in between. The fix is to make the write conditional — If-Match, If-Unmodified-Since — so the server can check that the copy being edited is still the copy that exists.

The memo’s instruction is small and unusually humane: responses using the code “SHOULD explain how to resubmit the request successfully.” A server that answers 428 without saying which precondition it wanted has told the client to guess, which is the exact failure the code was invented to end.

It is also the least loved of the four, because it costs a round trip and asks developers to think about concurrency on a Tuesday afternoon. Optimistic concurrency has never had a marketing department.

431 Request Header Fields Too Large: name the culprit

431 covers a case that barely existed when HTTP was designed and became routine once cookies, bearer tokens, trace identifiers and base64 blobs started accumulating in the request line: “the server is unwilling to process the request because its header fields are too large.”

The memo could have stopped there. Instead it adds a line of accountability: where a single field is at fault, “the response representation SHOULD specify which header field was too large.” That one sentence turns a mystery into a ticket. Naming the header tells an operator which of a dozen subsystems to fix; leaving it unnamed turns a configuration problem into a support queue.

Every reverse proxy now enforces some version of this — nginx’s header buffers, Apache’s field-size limits — and every one of them is downstream of a paragraph written in 2012.

511 Network Authentication Required: the wall, labelled

511 is the interesting one, and not because of the technology. It reports that “the client needs to authenticate to gain network access” — the captive portal, the hotel, the airport, the café, the conference Wi-Fi that wants a room number before it will forward a packet.

Two design decisions carry the whole idea. First, the response “SHOULD contain a link to a resource that allows the user to submit credentials” — a link, not the form. Second, it “SHOULD NOT contain a challenge or the login interface itself, because browsers would show the login interface as being associated with the originally requested URL, which may cause confusion.” The user should never type the hotel’s password into something that looks like it belongs to the bank they were trying to reach.

And then the boundary: 511 “SHOULD NOT be generated by origin servers.” Only the intercepting proxy may send it, because the entire point is that the obstacle sits between the client and the origin, not inside it.

Read together, the two rules describe a problem nobody could solve and everybody could standardise. The portal is in the way. At least say so, in a code, with a link to the door rather than the door itself.

What RFC 6585 proves about registries

Here is the quiet argument inside the memo, and it is the argument that separates a registry doing its job from a registry that has forgotten what the job was.

A status-code registry has one task: keep the numbers unique and their meanings stable. It does not run the servers. It does not police the rate limits. It does not decide whether your hotel should charge for Wi-Fi. It publishes a name for a condition that already exists, and then lets a thousand implementors decide what to do about it.

Lu Heng, writing about the registries that allocate IP addresses, puts the shape of that layer in one line: “The common layer is not an institution.” RFC 6585 is that sentence in working order. The common layer is four integers and four paragraphs. The counting, the limit, the form, the buffer size, the retry policy — all of it stays with the parties who bear the consequence.

There is a second half, and it is the part registries forget. The memo was published in April 2012 and changed nothing that April. It changed things when nginx, Apache, Cloudflare, Stripe and a few thousand APIs started emitting 429 and honouring Retry-After. Publication is not adoption. A document is not reality. The code became real when running code picked it up.

And a third: the registry never claimed the authority to enforce. It did not specify what happens to a server that ignores 428, or a client that retries straight through a 429. It named the condition and left the consequences where they belonged. That is not weakness. That is the design decision that let the vocabulary outlive everyone who wrote it.

Why the boring memo still matters

None of these four codes made the internet faster, safer or fairer. What they did was give both ends of a conversation a shared word for a situation they were already in. A client that receives 429 knows the difference between “gone” and “later.” A client that receives 428 knows it must look before it writes. An operator reading a 431 knows which header to shrink. A traveller facing 511 knows the wall is the network, not the page.

That is what a registry does when it remembers its mandate. It does not invent behaviour. It names the behaviour already happening, in the smallest number of words both sides can agree on, and then it lets go.

Four numbers. Ten pages. No army, no mandate, no enforcement machinery. Just a name for something everyone already knew — and the reminder that the most durable registry on the Internet is the one that never once confused naming a thing with owning it.