W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2009

[whatwg] WebSocket sub protocol name.

From: Julian Reschke <julian.reschke@gmx.de>
Date: Mon, 07 Dec 2009 09:45:56 +0100
Message-ID: <4B1CC0C4.6050700@gmx.de>
Ian Hickson wrote:
> ...
>> And, why is it limited to ASCII instead of UTF-8?
> Because the HTTP working group refuse to allow UTF-8 in HTTP headers for 
> reasons that I don't really understand, and the handshake is supposed to 
> be valid HTTP.
> ...

A change of the default encoding would be incompatible with HTTP/1.1.

> On Mon, 7 Dec 2009, Julian Reschke wrote:
>> There isn't a good reason to disallow control characters in a *name*????
> Not as far as I can tell, no... what would a good reason be?

Consistency with every other single spec on the planet with respect to 

Best regards, Julian
Received on Monday, 7 December 2009 00:45:56 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:19 UTC