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

https://github.com/whatwg/whatwg.org · HTML · 85 lines · 74 code · 4 blank · 7 comment · 0 complexity · ec8fee2fca28ed4a82190d51ba6adcdc MD5 · raw file

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