W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2010

[whatwg] WebSocket: host in server's handshake

From: Simon Pieters <simonp@opera.com>
Date: Fri, 21 May 2010 11:33:55 +0200
Message-ID: <op.vc1t6tc9idj3kv@simon-pieterss-macbook.local>
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
Received on Friday, 21 May 2010 02:33:55 UTC

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