Re: Error when attempting to access Referer

2013-10-28 23:23, Miller, Samuel wrote:

> When attempting to access this link,
> http://jigsaw.w3.org/css-validator/check/referer,  I get a message once
> the page loads which reads,
>
> “Some Headers, mandatory for this resource, are missing.
>
>   * Referer”
>
> This is the only thing that show up on the page that loads. I thought
> you might like to know about this.

As the last part of the URL suggests, the URL is meant to be used in a 
situation where the HTTP headers contain a Referer header. This is the 
way the validator recognizes the addresses from which it was “called” so 
that it knows which page should be validated.

Normally browsers send a Referer header when you follow a link. Your 
browser might have been configured not to do so, as a privacy measure, 
or maybe a proxy used by your organization filters the header away. In 
any case, you cannot use the validator using that URL if the Referer 
header (with a value pointing to your page) is not present.

You can use a different approach in a link, but then you need to 
hard-wire your URL (say http://www.example.com) there:

http://jigsaw.w3.org/css-validator/validator?uri=http://www.example.com

> Also referrer has 2 Rs: referrer..

The HTTP header name is “Referer” by definition, see
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.36

Yucca

Received on Wednesday, 30 October 2013 13:26:06 UTC