[whatwg] WebSocket: host in server's handshake

Simon Pieters simonp at opera.com
Fri May 21 02:33:55 PDT 2010

WebSocket Sending the server's opening handshake, step 2:

Establish the following information:
The host name or IP address of the WebSocket server, as it is to be  
addressed by clients. The host name must be punycode-encoded if necessary.  
If the server can respond to requests to multiple hosts (e.g. in a virtual  
hosting environment), then the value should be derived from the client's  
handshake, specifically from the "Host" field.

This should say that the host is expected to be lowercase for comparison  
purposes with the value of the Host field.

Simon Pieters
Opera Software

More information about the whatwg mailing list