Skip to content
woodar.dj
woodar.dj

Jonathan Woodard inflicts things upon the internet

  • Home
  • Tech
  • Games
  • Politics
  • Fiction
  • Personal
  • About
woodar.dj

Jonathan Woodard inflicts things upon the internet

Be strict when sending and tolerant when receiving.

Posted on 4 Aug 2011 By Jonathan Woodard

RFC 1958 § 3.9 reads:

3.9 Be strict when sending and tolerant when receiving.

Implementations must follow specifications precisely when sending to the network, and tolerate faulty input from the network. When in doubt, discard faulty input silently, without returning an error message unless this is required by the specification.

This design philosophy sprang to mind while tightening up some details on an API I was updating (explicitly setting Content-Type: application/json, to be specific).

The more I thought about it, the more I realized this is pretty sound advice everywhere. Tech-wise, not just APIs, but in user experience, and even the design of entire technology architectures. And in real life, anything from conversations to relationships.

What does everyone think? Am I totally insane, or is there some validity here?

Related

Uncategorized

Post navigation

Previous post
Next post

Galactic Impact

Turn-based space epic in a massive online universe. Can be played in 15 minute sessions every few days using any web browser!

Inspired by the classics of the 4X genre; free to play forever with optional subscription to unlock convenience features. No pay-to-win, loot boxes, or NFTs.

New features, game mechanisms, and modes of play releasing weekly.

Start your space empire now! →

Valour

A strategy board game about the Gallic War, as told by the Gauls.

Only the tribes which put up the fiercest resistance in the face of inevitable conquest will be remembered by history!

Coming soon. Read more →

Categories

Archives

Posts via email

Recent Posts

  • Short Story: The Sorceress
  • Galactic Impact
  • Eulogy for my Mom
  • Took/taking a little break?
  • Big News 2019!
Tweets by woodardj

Recent Comments

  • MiguelHP on Asana Instagantt Chrome Plugin
  • woodardj on “Award Winning” Game Designer
  • Patrick Tumpane on “Award Winning” Game Designer
  • Conor McGoey on Origins 2017 Roundup
  • woodardj on “COVER ME!”: Convenient covers for things you don’t know how to do
©2025 woodar.dj | WordPress Theme by SuperbThemes