On Sat, Jun 14, 2014 at 6:02 PM, Jim Jagielski <[email protected]> wrote:
> I thought RFC 6455 specifies ws and wss...

It doesn't go on the wire.

Once a connection to the server has been established (including a
   connection via a proxy or over a TLS-encrypted tunnel), the client
   MUST send an opening handshake to the server.  The handshake consists
   of an HTTP Upgrade request, along with a list of required and
   optional header fields.  The requirements for this handshake are as
   follows.

   1.   The handshake MUST be a valid HTTP request as specified by
        [RFC2616].

   2.   The method of the request MUST be GET, and the HTTP version MUST
        be at least 1.1.

        For example, if the WebSocket URI is "ws://example.com/chat",
        the first line sent should be "GET /chat HTTP/1.1".



-- 
Eric Covener
[email protected]

Reply via email to