87

I read recently (I can't recall where, or I'd return to that source) that the misspelling of HTTP header field name Referer in the specification was intentional. Is that accurate? If so, why?

1

2 Answers 2

130

Phillip Hallam-Baker and Roy Fielding are responsible for it. By the time they realized it was incorrect, too many people were using it.

Now, Phillip jokes about getting the Oxford Dictionary to recognize his spelling:

Its like when I did the referer field. I got nothing but grief for my choice of spelling. I am now attempting to get the spelling corrected in the OED since my spelling is used several billion times a minute more than theirs.

Roy also joked about the fact that the UNIX spell command didn't recognize any spelling of it:

> Has anyone else noticed that the HTTP header "Referer:" is spelled wrong?

That's okay, neither one (referer or referrer) is understood by "spell" anyway. I say we should just blame it on France. ;-)

Info taken from HTTP_REFERER Origins Wikipedia article.

5
  • 152
    It's not a misspelling; it's an optimization. By leaving out the redundant 'R' in the header name, he's probably reduced many terabytes of bandwidth usage over the years. =P Commented Jun 21, 2010 at 19:53
  • 30
    If that's the case it should be the R: header.
    – Ben S
    Commented Jun 21, 2010 at 20:00
  • 1
    My brain hates typos. As much as Hallam-Baker jokes about trying to get his version in the dictionary, the bottom line is that he didn't know how to spell. So damned annoying! Commented Mar 10, 2023 at 20:26
  • You shouldn't let typos get under your skin, @ChuckLeButt, especially in our line of work. Remember, nerve cells don't regenerate very much or very fast. Referer: askabiologist.asu.edu/regeneration
    – Paul Mark
    Commented Feb 1 at 13:53
  • 1
    @PaulMark In our line of work a typo means the difference between a running system and a crashed one X-) Commented Feb 1 at 16:08
8

I believe it was a mistake that was only picked up after release, at that point it was too late to change it and a lot of dependencies already existed.

a wiki link to (semi) prove it :)

4
  • 7
    Yea, but why is "hello" misspelled in SMTP? Commented Jun 21, 2010 at 19:53
  • 4
    I thought I read somewhere that HELO in SMTP was a throwback to ARPANET but I can't find any citations for that, so take it with a boulder of salt. Commented Jul 22, 2016 at 15:40
  • I believe you misspelled "prove" :)
    – jacekbe
    Commented Apr 4, 2019 at 12:20
  • 3
    Spelling it HELO is probably to fit a 4-character limit for command names. (Just like with FTP commands.)
    – George
    Commented Aug 20, 2020 at 20:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.