[whatwg] Web Socket Protocol: How Lenient Server Should Be in Handshake?

Ian Hickson ian at hixie.ch
Thu Dec 3 15:43:53 PST 2009


On Fri, 6 Nov 2009, Yuzo Fujishima wrote:
> 
> As far as I can read from
> http://tools.ietf.org/html/draft-hixie-thewebsocketprotocol-54#section-5.2
> the server should (or must?) accept requests starting with, say:
>    POST<SPACE>/some/resource<SPACE>HTTP/1.0
> or, even
>    <SPACE>/some/resource<SPACE>
> 
> Is a server expected to be this lenient?

The server is allowed to completely ignore the client side of the 
handshake, but may also apply as strict processing as desired. Yesterday I 
updated the server-side requirements to be clearer on this matter.

Cheers,
-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list