On Fri, 31 Mar 2006 08:57:48 -0000, Cameron McCormack <[EMAIL PROTECTED]> 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):

Thanks for this. We decided that it would make the most sense to throw an exception (SYNTAX_ERR) if the header or value doesn't match the production given in HTTP. This is the same for getResponserHeader, obviously...


--
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>


Reply via email to