Error 404 Not found - file doesn't exist or is read protected [even tried multi]
But what is "multi"? And why does the web server act like it's doing you a big favor trying it? Is it trying multiple times, maybe?
These days, 404 messages are still common, but the "multi" message is fairly
rare.
The message was once so common, though, it spawned a
large
number
of
parodies.
I decided to get to the bottom of this, and find out what this "multi" is.
It didn't take long to discover that this message comes from the CERN httpd server, written by Tim Berners-Lee and others back in the 1990's.
A bit of poking around found the source code that generates the infamous multi message. It turns out that "multi" is short for
multi-format documents, and was a cool new feature back in 1993. It
is a technique for the server to have multiple formats of a file and provides the best one your browser can handle. For instance, suppose you try to fetch an image
So there you have it, the definitive answer to what "even tried multi" means, and a bit of web history.
/cat
. Back in the olden days, browsers weren't so good with images, so your browser might only display gifs and not jpegs. Your browser asks for /cat
and says that it can handle gifs. Now for the multi magic. The server can have multiple files, say /cat.gif
, /cat.jpg
, and /cat.png
. It looks at what your browser can accept, looks at what it has, and returns the best choice, in this case /cat.gif
. Likewise, a file could have versions in text and PDF, and the server would return the best type for your browser. Web servers still support content negotiation, but they generally don't mention it in 404 messages any more.
No comments:
Post a Comment