← Back to context

Comment by jsheard

2 days ago

Except now there's also the "Referrer-Policy" header, which is spelled correctly. I wonder if the spec committee debated calling it Referer-Policy for consistency.

Personally, I would have, since it refers to the Referer header it seems like it should follow the same spelling.

It would be like CSS having a "color" attribute, but then doing something like "default-colour".

  • Exactly, a Referer on the web is its own thing now. Referrer should be considered a typo if you’re referring to the Referer header.

  • It’s actually more like CSS having a “colr” attribute and then doing something like “default-color”.