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

ISSUE-71: setRequestHeader has too many header restrictions

From: Web APIs Issue Tracker <dean+cgi@w3.org>
Date: Thu, 6 Apr 2006 09:02:35 +0000 (GMT)
To: public-webapi@w3.org
Message-Id: <20060406090235.01CBF33201@kearny.w3.org>

ISSUE-71: setRequestHeader has too many header restrictions


Raised by: Anne van Kesteren
On product: XMLHttpRequest

introduces a lot of restrictions on HTTP headers which we agreed upon to remove
(at least partially) during our first F2F (Oslo, 2006). People have been arguing
for removing at least the following headers from that list:

* Accept-Charset
* Accept-Encoding
* If-Modified-Since
* If-None-Match
* If-Range
* Range
* User-Agent

I think we also agreed upon some special behavior around If-Modified-Since. That
when the author has not set it the UA MUST always return a 200 (if nothing else
went wrong) with a full body (the UA can still set it for speeding up things
obviously), but if the author did set it and the server version is not newer the
UA MUST return a 304 (again, if nothing else went wrong).

I think I'll just go ahead and make some changes to the editor's draft to make
the changes outlined above unless someone objects...
Received on Thursday, 6 April 2006 09:02:39 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:20 UTC