/lists.whatwg.org/pipermail/whatwg-whatwg.org/2010-April/025991.html

https://github.com/whatwg/whatwg.org · HTML · 113 lines · 66 code · 40 blank · 7 comment · 0 complexity · 825fdf96e994794a6f57a0f2833594be MD5 · raw file

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
  2. <HTML>
  3. <HEAD>
  4. <TITLE> [whatwg] WebSocket opening handshake
  5. </TITLE>
  6. <LINK REL="Index" HREF="index.html" >
  7. <LINK REL="made" HREF="mailto:whatwg%40lists.whatwg.org?Subject=Re%3A%20%5Bwhatwg%5D%20WebSocket%20opening%20handshake&In-Reply-To=%3Cop.vbj1ijiridj3kv%40simon-pieterss-macbook.local%3E">
  8. <META NAME="robots" CONTENT="index,nofollow">
  9. <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
  10. <LINK REL="Previous" HREF="025990.html">
  11. <LINK REL="Next" HREF="025999.html">
  12. </HEAD>
  13. <BODY BGCOLOR="#ffffff">
  14. <H1>[whatwg] WebSocket opening handshake</H1>
  15. <!--htdig_noindex-->
  16. <B>Simon Pieters</B>
  17. <A HREF="mailto:whatwg%40lists.whatwg.org?Subject=Re%3A%20%5Bwhatwg%5D%20WebSocket%20opening%20handshake&In-Reply-To=%3Cop.vbj1ijiridj3kv%40simon-pieterss-macbook.local%3E"
  18. TITLE="[whatwg] WebSocket opening handshake">simonp at opera.com
  19. </A><BR>
  20. <I>Thu Apr 22 01:21:45 PDT 2010</I>
  21. <P><UL>
  22. <LI>Previous message: <A HREF="025990.html">[whatwg] WebSocket length of binary frames and closing handshake
  23. </A></li>
  24. <LI>Next message: <A HREF="025999.html">[whatwg] Should scripts and plugins in contenteditable content be enabled or disabled?
  25. </A></li>
  26. <LI> <B>Messages sorted by:</B>
  27. <a href="date.html#25991">[ date ]</a>
  28. <a href="thread.html#25991">[ thread ]</a>
  29. <a href="subject.html#25991">[ subject ]</a>
  30. <a href="author.html#25991">[ author ]</a>
  31. </LI>
  32. </UL>
  33. <HR>
  34. <!--/htdig_noindex-->
  35. <!--beginarticle-->
  36. <PRE>establishing a WebSocket connection:
  37. [[
  38. 41. ... or if there are any entries in the fields list whose names are the
  39. empty string, then fail the WebSocket connection and abort these steps. ...
  40. ]]
  41. I think it is better to check for this while parsing the fields, by
  42. checking if the name byte array is empty here:
  43. [[
  44. 34. Read a byte from the server.
  45. ...
  46. If the byte is 0x3A (ASCII :)
  47. Move on to the next step.
  48. ]]
  49. --
  50. Simon Pieters
  51. Opera Software
  52. </PRE>
  53. <!--endarticle-->
  54. <!--htdig_noindex-->
  55. <HR>
  56. <P><UL>
  57. <!--threads-->
  58. <LI>Previous message: <A HREF="025990.html">[whatwg] WebSocket length of binary frames and closing handshake
  59. </A></li>
  60. <LI>Next message: <A HREF="025999.html">[whatwg] Should scripts and plugins in contenteditable content be enabled or disabled?
  61. </A></li>
  62. <LI> <B>Messages sorted by:</B>
  63. <a href="date.html#25991">[ date ]</a>
  64. <a href="thread.html#25991">[ thread ]</a>
  65. <a href="subject.html#25991">[ subject ]</a>
  66. <a href="author.html#25991">[ author ]</a>
  67. </LI>
  68. </UL>
  69. <hr>
  70. <a href="http://lists.whatwg.org/listinfo.cgi/whatwg-whatwg.org">More information about the whatwg
  71. mailing list</a><br>
  72. <!--/htdig_noindex-->
  73. </body></html>