Re: XMLHttpRequest.setRequestHeader with non-ASCII strings

* Cameron McCormack wrote:
>I asked on #webapi the other day what XHR should do if setRequestHeader
>is called with strings that contain non-ASCII characters, since that's
>not allowed by HTTP.  Anne suggested I make a test, so here is one
>(temporarily, at least):
>
>  http://arc.mcc.id.au:40001/

The following cases would be interesting aswell:

  * U+20AC - the euro currency symbol which
    is in Windows-1252 but not in ISO-8859-1

  * the sequence 'o' followed by U+0308 which
    is the NFD form of U+00F6 (ö)

  * \udb40\udc7f, which is a surrogate pair
    for U+E007F

  * the characters ' ', '?', ':'

  * CRLF

In name in value. FWIW.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 

Received on Friday, 31 March 2006 09:28:23 UTC