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

Re: XHR: restrictions on request headers

From: Jonas Sicking <jonas@sicking.cc>
Date: Fri, 14 Apr 2006 17:41:32 -0700
Message-ID: <4440413C.30600@sicking.cc>
To: Bjoern Hoehrmann <derhoermi@gmx.net>
Cc: web APIs WG <public-webapi@w3.org>

Bjoern Hoehrmann wrote:
> * Jonas Sicking wrote:
>> The only use case I've heard so far is the ability to request a 
>> pure-ascii response. Or I guess more generally requesting an encoding 
>> that only contains a specific subset of the unicode map. However I'm not 
>> sure what value this gives over simply looping over responseText and 
>> testing if all chars are in the desired subset.
> I think testing won't get you very far as far as I understant the use
> case here. If you have a text file with my name, one in US-ASCII with
> "Bjoern" and one in ISO-8859-1 with "Björn", getting the latter would
> mean you have to replace "ö" with "oe" in the script if you really
> want the us-ascii transliteration.

I'm convinced :) This is a good enough use case that it'll override the 
'shoot yourself in the foot' argument.

/ Jonas
Received on Saturday, 15 April 2006 00:41:41 UTC

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