Was the misspelling of the HTTP field name Referer intentional?

房东的猫 提交于 2019-11-29 01:22:43

问题


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:


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.




回答2:


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 :)



来源:https://stackoverflow.com/questions/3087626/was-the-misspelling-of-the-http-field-name-referer-intentional

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!