/lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-December/024373.html

https://github.com/whatwg/whatwg.org · HTML · 112 lines · 69 code · 36 blank · 7 comment · 0 complexity · f4af5f102b3128a19fc4540d0557ecb8 MD5 · raw file

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
  2. <HTML>
  3. <HEAD>
  4. <TITLE> [whatwg] [hybi] WebSocket sub protocol name.
  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%20%5Bhybi%5D%20WebSocket%20sub%20protocol%20name.&In-Reply-To=%3C4B1E0D92.3040406%40gmx.de%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="024374.html">
  11. <LINK REL="Next" HREF="024355.html">
  12. </HEAD>
  13. <BODY BGCOLOR="#ffffff">
  14. <H1>[whatwg] [hybi] WebSocket sub protocol name.</H1>
  15. <!--htdig_noindex-->
  16. <B>Julian Reschke</B>
  17. <A HREF="mailto:whatwg%40lists.whatwg.org?Subject=Re%3A%20%5Bwhatwg%5D%20%5Bhybi%5D%20WebSocket%20sub%20protocol%20name.&In-Reply-To=%3C4B1E0D92.3040406%40gmx.de%3E"
  18. TITLE="[whatwg] [hybi] WebSocket sub protocol name.">julian.reschke at gmx.de
  19. </A><BR>
  20. <I>Tue Dec 8 00:25:54 PST 2009</I>
  21. <P><UL>
  22. <LI>Previous message: <A HREF="024374.html">[whatwg] [hybi] WebSocket sub protocol name.
  23. </A></li>
  24. <LI>Next message: <A HREF="024355.html">[whatwg] Interface objects defined in Web Workers outside workers
  25. </A></li>
  26. <LI> <B>Messages sorted by:</B>
  27. <a href="date.html#24373">[ date ]</a>
  28. <a href="thread.html#24373">[ thread ]</a>
  29. <a href="subject.html#24373">[ subject ]</a>
  30. <a href="author.html#24373">[ author ]</a>
  31. </LI>
  32. </UL>
  33. <HR>
  34. <!--/htdig_noindex-->
  35. <!--beginarticle-->
  36. <PRE>Ian Hickson wrote:
  37. &gt;<i> On Tue, 8 Dec 2009, Fumitoshi Ukai (&#65533;~\&#39164;&#65533;~V~G&#65533;~U~O) wrote:
  38. </I>&gt;&gt;<i> protocol now accepts U+0020. Is it ok to use U+0020 only in /protocol/ ?
  39. </I>&gt;&gt;<i> (e.g. new WebSocket(&quot;<A HREF="ws://example.com/">ws://example.com/</A>&quot;, &quot; &quot;); )
  40. </I>&gt;&gt;<i> It seems space is optional after colon in field of handshake message, how
  41. </I>&gt;&gt;<i> can we distinguish U+0020 and U+0020 U+0020 ?
  42. </I>&gt;<i>
  43. </I>&gt;<i> The space isn't optional (both the client and the server are required to
  44. </I>&gt;<i> send it before the subprotocol name), it's just that the client will
  45. </I>&gt;<i> handle a missing space gracefully. Maybe we should remove that &quot;feature&quot;,
  46. </I>&gt;<i> and require that the space be present, closing the connection otherwise?
  47. </I>&gt;<i> I don't feel strongly either way.
  48. </I>&gt;<i>
  49. </I>&gt;<i> Anyway, the point is that &quot;WebSocket-Protocol: &quot; is the empty string, and
  50. </I>&gt;<i> &quot;WebSocket-Protocol: &quot; is a one-space protocol name.
  51. </I>&gt;<i> ...
  52. </I>
  53. Out of curiosity: why do you think it's wise to allow SP in protocol names?
  54. BR, Julian
  55. </PRE>
  56. <!--endarticle-->
  57. <!--htdig_noindex-->
  58. <HR>
  59. <P><UL>
  60. <!--threads-->
  61. <LI>Previous message: <A HREF="024374.html">[whatwg] [hybi] WebSocket sub protocol name.
  62. </A></li>
  63. <LI>Next message: <A HREF="024355.html">[whatwg] Interface objects defined in Web Workers outside workers
  64. </A></li>
  65. <LI> <B>Messages sorted by:</B>
  66. <a href="date.html#24373">[ date ]</a>
  67. <a href="thread.html#24373">[ thread ]</a>
  68. <a href="subject.html#24373">[ subject ]</a>
  69. <a href="author.html#24373">[ author ]</a>
  70. </LI>
  71. </UL>
  72. <hr>
  73. <a href="http://lists.whatwg.org/listinfo.cgi/whatwg-whatwg.org">More information about the whatwg
  74. mailing list</a><br>
  75. <!--/htdig_noindex-->
  76. </body></html>