Welcome Guest, Not a member yet? Register   Sign In

The Useragent class has a function named "referrer()", but the official HTTP term is "referer".


A misspelling of "referrer" which somehow made it into the HTTP standard. A given web page's referer (sic) is the URL of whatever web page contains the link that the user followed to the current page. Most browsers pass this information as part of a request.


This could confuse some people. I just searched in the docs for 'referer' and found nothing (not even referrer). Maybe an idea to at least note this, or make an alias function?

Theme © iAndrew 2016 - Forum software by © MyBB