[whatwg] [hybi] WebSocket sub protocol name.
ian at hixie.ch
Sun Dec 6 22:21:04 PST 2009
On Mon, 7 Dec 2009, Fumitoshi Ukai (éµ~\é£¼æ~V~Gæ~U~O) wrote:
> At 1.130 of "The Web Socket API", it adds the sub-protocol name must be an
> ASCII string with no U+000A LINE FEED (LF) or U+000D CARRIAGE RETURN (CR)
> characters in it.
> But "The Web Socket protocol" 3.1 Parsing Web Socket URLs, says
> 1. If /protocol/ is specified but is either the empty string or
> contains characters that are not in the range U+0021 to U+007E,
> then fail this algorithm.
Woops, that step is a copy-and-paste mistake from a past version. My
apologies. I've removed that sentence; it should not have been present.
Control characters are allowed (though using them would be silly).
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg