3 ms·
I had a faint hope that they'd fix "referer". Alas, no: http://tools.ietf.org/html/rfc7231#section-5.5.2 http://tools.ietf.org/html/rfc7231#section-5.5.2
by wpietri 12y ago
I had a faint hope that they'd fix "referer". Alas, no: http://tools.ietf.org/html/rfc7231#section-5.5.2 http://tools.ietf.org/html/rfc7231#section-5.5.2
- NelsonMinar 12y agoI believe their intent was not to creat new protocols.
- gjm11 12y agoNote for readers who may not have noticed: the above is a rather clever joke. See, e.g., http://unix.stackexchange.com/questions/10893/what-did-ken-thompson-mean-when-he-said-id-spell-create-with-an-e http://unix.stackexchange.com/questions/10893/what-did-ken-t... for background.
- contingencies 12y agoCute! Added to my ruby/ANSI-enabled, architecturally-oriented fortune alternative https://github.com/globalcitizen/taoup https://github.com/globalcitizen/taoup :)
- steveklabnik 12y agoThat would be backwards incompatible.
- barosl 12y agoSo true. I'm occasionally confused on which spelling to use. My rule of thumb is using "referrer" for almost all place including variable names, except for the situation when I have to manipulate the headers directly.
- notatoad 12y agoi've finally got my brain wrapped around to believing that referer is the correct spelling within the context of HTTP. Any time i need to talk about a referer, it's spelled referer. if it's spelled referrer, it must mean something else.
- emmelaich 12y agoReminds me when I have to pronounce router the network thing vs router the woodworking tool. The former is pronounced the USA way, the latter the English way.
- oneeyedpigeon 12y agoIf I've learnt anything in programming, it's that inconsistent naming just adds useless complexity. At some point, you'll find yourself having to map from 'referrer' to 'referer'; that's entirely wasted effort. Wherever possible, name everything (variables, array indices, filenames, database fields, HTML input names) exactly the same.
- ehPReth 12y agoI hope they strip out "referers" or "referrers" in the future, but somehow I doubt that will happen
- josai 12y agoI have a proposal in place to replace the single referrer with an array of all preceding referrers, to track through multiple redirects, etc. The header name would be "referer's"
- wolf550e 12y agoI don't know what's worse: the privacy implications, the bandwidth implications or using the apostrophe to mean "here comes an s". Nice trolling.
- rquantz 12y agoPresumably any such fix would have to start with specifying both a referer and a referrer header, so that legacy clients wouldn't freak out. That said, it's humbling to think that because someone made a mistake in, what, 1991? We still have to go around spelling referrer wrong all the time, and even include the incorrect spelling in new specs. So, all you standards proliferators out there: used the goddam spell checker, all right?
- btgeekboy 12y agoFor what it's worth, Wikipedia notes: "[D]ocument co-author Roy Fielding has remarked that neither 'referrer' nor the misspelling 'referer' were recognized by the standard Unix spell checker of the period." http://en.wikipedia.org/wiki/HTTP_referer http://en.wikipedia.org/wiki/HTTP_referer