W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2012

XHR's setRequestHeader and the Do Not Track (DNT) header

From: Ian Melven <imelven@mozilla.com>
Date: Tue, 8 May 2012 12:34:46 -0700 (PDT)
To: public-webapps@w3.org
Cc: Sid Stamm <sid@mozilla.com>, Tom Lowenthal <tom@mozilla.com>
Message-ID: <1626657500.1355029.1336505686956.JavaMail.root@mozilla.com>

i'd like to propose that the Do Not Track header (see http://www.w3.org/TR/tracking-dnt/#dnt-header-field) "DNT"
be added to the list of request headers not allowed to be set via XHR's setRequestHeader method (see 

there is an additional question of whether a user's Do Not Track setting in the user agent should
also be added to requests made by XHR - the DNT spec says "A user agent must send the DNT header field on all
HTTP requests if (and only if) a tracking preference is enabled" which would seem to include XHR... 

Received on Wednesday, 9 May 2012 21:28:15 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 11 February 2015 14:36:58 UTC