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

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

From: Julian Reschke <julian.reschke@gmx.de>
Date: Mon, 19 May 2008 11:44:06 +0200
Message-ID: <48314BE6.9060708@gmx.de>
To: Stewart Brodie <stewart.brodie@antplc.com>
CC: public-webapi@w3.org

Stewart Brodie wrote:
>> If a server can't cope with it (evidence, please!), fix it.
> 
> Some older versions of Microsoft IIS are the servers that I've come across
> that fail to cope with it.  It is unrealistic to expect these to be
> undeployed any time soon.  The comment in my code does not specify version
> numbers - it simply indicates that a lack of an Accept header causes some
> versions of IIS to return a None Match error.  On that basis, and because
> sending "Accept: */*" fixes the problem, I am assuming that the fault lies
> in the content negotation code.

Well, the client alway can set "Accept" to "*/*" if it needs to 
communicate with that server.

Please do not burden the spec with workarounds when it is clearly *not* 
required.

BR, Julian
Received on Monday, 19 May 2008 09:44:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 19 May 2008 09:44:54 GMT