W3C home > Mailing lists > Public > public-webapi@w3.org > May 2008

XHR LC comment: Accept header went from MUST NOT to SHOULD

From: Laurens Holst <lholst@students.cs.uu.nl>
Date: Thu, 15 May 2008 20:56:42 +0200
Message-ID: <482C876A.2070205@students.cs.uu.nl>
To: "Web API WG (public)" <public-webapi@w3.org>
The current CVS version says that:

    “Unless set through |setRequestHeader()

user agents /should/ set the |Accept| and |Accept-Language| headers as

This was originally

    “it /must not/ automatically set the |Accept|.”

Why was this changed? Why should user agents pretend that they know what
kind of resource the user expects by setting an Accept header that is
unreliable? FWIW, Internet Explorer and Safari set the (reasonably
acceptable */*), but it would be better to leave it out entirely. Also see:



Ushiko-san! Kimi wa doushite, Ushiko-san nan da!!
Laurens Holst, student, university of Utrecht, the Netherlands.
Website: www.grauw.nl. Backbase employee; www.backbase.com.

Received on Thursday, 15 May 2008 18:58:10 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:10:01 UTC