Summary

  • RFC 2119 notes that many standards-track documents use capitalised words to signify requirements, and defines those words as they should be interpreted in IETF documents.
  • It asks authors to include a standard sentence near the beginning listing MUST, MUST NOT, REQUIRED, SHALL, SHALL NOT, SHOULD, SHOULD NOT, RECOMMENDED, MAY and OPTIONAL.

Ten words, five levels of obligation, and no room left for a reader to guess. MUST is an absolute requirement. SHOULD is a recommended course whose implications you are expected to have weighed before you ignore it. MAY is genuinely optional. The definitions are short. The consequences are not.

Scott Bradner wrote it in 1997. It became BCP 14, and in 2017 RFC 8174 added the clarification that has saved a thousand arguments since: only the capitalised forms carry the special meaning. Lowercase "must" goes back to being ordinary English, which is to say, a word people use when they are not entirely sure.

What the memo actually did was move a class of sentences out of prose and into something a third party can check. Before it, "the implementation should handle this case" was a sentence. After it, SHOULD is a claim that the author is expected to have weighed the alternatives, and MUST is a claim that can be tested, ticked off in a conformance matrix, and read back to a vendor by a procurement officer who has not opened the rest of the document.

That is the trick worth noticing. RFC 2119 does not make a specification true. It makes it auditable — and an auditable sentence is one somebody can be held to. It is also about as thin as a common layer gets: ten words, a few pages, and no institution required to enforce a single one of them.