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

Include Referer-HTTP-header in requests from XMLHttpRequests

From: Sven Neuhaus <sn@heise.de>
Date: Fri, 23 Jun 2006 12:03:44 +0200
Message-ID: <449BBC80.4010304@heise.de>
To: public-webapi@w3.org

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
Received on Saturday, 24 June 2006 02:13:59 GMT

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