W3C home > Mailing lists > Public > public-webapi@w3.org > June 2006

Re: Include Referer-HTTP-header in requests from XMLHttpRequests

From: Subbu Allamaraju <subbu.allamaraju@gmail.com>
Date: Thu, 29 Jun 2006 11:39:55 -0600
Message-ID: <e3f21b1a0606291039g3e65c54epa50d7a2118be35ba@mail.gmail.com>
To: public-webapi@w3.org
Even in the single domain case, there could be lots of apps and resources,
and the Referer header could be used for whatever use cases that this header
is used for non-XHR requests today. One use case is to find out the context
in which the request was generated for analytics purposes. It would be
useful to encourage browsers to send this header.

Subbu

On 6/28/06, Mark Baker <distobj@acm.org> wrote:
>
>
> Sven,
>
> I think the value's pretty low for the single domain case, no?  Since
> requests will only ever be made back to the server that served the
> script, that would make for a pretty information-free referer log
> AFAICT.
>
> Do you have some specific use cases?
>
> Mark.
>
> On 6/23/06, Sven Neuhaus <sn@heise.de> wrote:
> >
> > Hello,
> >
> > currently, there is no standard behaviour for XMLHttpRequests regarding
> the
> > Referer HTTP header - some browsers send it, others don't [see also
> > https://bugzilla.mozilla.org/show_bug.cgi?id=170477].
> >
> > As a web developer, I would welcome it if the referer header was sent by
> as
> > many browsers as possible when using XMLHttpRequests. It helps a lot
> when
> > analyzing problems and figuring out the origin of requests.
> > Please include the Referer header in the specification as a recommended
> > header for HTTP requests generated by the XMLHttpRequest object.
> >
> > Suggestion:
> > 'HTTP requests SHOULD by default include the "Referer" HTTP header.'
> >
> > This probably belongs in the description of the "send" method.
> >
> > Regards,
> > -Sven Neuhaus
> >
> >
> >
>
>


-- 
------------------------------
http://www.subbu.org
Received on Thursday, 29 June 2006 17:40:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:55 GMT