Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Draft 76 renamed the <code>WebSocket-</code> response headers to <code>Sec-WebSocket-</code>, and added some unnecessarily ugly <code>Key</code> header and request body crypto stuff to which the <code>8jKS'y:G*Co,Wxa-</code> is a response. But that's only the correct response for the example included in the draft; it's no good returning that specific string for any other request. See <a href="http://blog.new-bamboo.co.uk/2010/6/7/living-on-the-edge-of-the-websocket-protocol" rel="nofollow noreferrer">this post</a> for an explanation of how to implement the new protocol.</p> <p>In any case, unless you are using the latest development builds, Chrome/Chromium will still be using the old draft 75 protocol (as the request you posted demonstrates), and won't talk to the a server that implements the new protocol. See the <a href="http://blog.chromium.org/2010/06/websocket-protocol-updated.html" rel="nofollow noreferrer">Chromium blog</a> for more info. If you need to support old/current Chrome versions you effectively have to implement two WebSocket protocols.</p> <p>This is always the risk in developing stuff against a protocol that is not yet standardised. You can expect annoying interinoperability until WebSocket is finalised; you may prefer to hold off until then.</p> <p>(Trying to actually read the spec and work out what exactly has changed amongst the reams of unreadable parsing algorithms, is an exercise in frustration. I have no idea why it is written like this instead of the usual BNF-style specifications RFCs like. It's as if Hixie wrote a parser in C and then wrote an automated tool to turn the code into English. C would have been more readable TBH.)</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload