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

https://github.com/whatwg/whatwg.org · HTML · 118 lines · 69 code · 42 blank · 7 comment · 0 complexity · 977c78b3f342b18720a1262109109a9e MD5 · raw file

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
  2. <HTML>
  3. <HEAD>
  4. <TITLE> [whatwg] 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%20WebSocket%20sub%20protocol%20name.&In-Reply-To=%3Cde17d48e0912062058u72db7455x4e211cb05da19070%40mail.gmail.com%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="024340.html">
  11. <LINK REL="Next" HREF="024345.html">
  12. </HEAD>
  13. <BODY BGCOLOR="#ffffff">
  14. <H1>[whatwg] WebSocket sub protocol name.</H1>
  15. <!--htdig_noindex-->
  16. <B>Fumitoshi Ukai (&#40284;&#39164;&#25991;&#25935;)</B>
  17. <A HREF="mailto:whatwg%40lists.whatwg.org?Subject=Re%3A%20%5Bwhatwg%5D%20WebSocket%20sub%20protocol%20name.&In-Reply-To=%3Cde17d48e0912062058u72db7455x4e211cb05da19070%40mail.gmail.com%3E"
  18. TITLE="[whatwg] WebSocket sub protocol name.">ukai at chromium.org
  19. </A><BR>
  20. <I>Sun Dec 6 20:58:06 PST 2009</I>
  21. <P><UL>
  22. <LI>Previous message: <A HREF="024340.html">[whatwg] Audio Panning
  23. </A></li>
  24. <LI>Next message: <A HREF="024345.html">[whatwg] [hybi] WebSocket sub protocol name.
  25. </A></li>
  26. <LI> <B>Messages sorted by:</B>
  27. <a href="date.html#24343">[ date ]</a>
  28. <a href="thread.html#24343">[ thread ]</a>
  29. <a href="subject.html#24343">[ subject ]</a>
  30. <a href="author.html#24343">[ author ]</a>
  31. </LI>
  32. </UL>
  33. <HR>
  34. <!--/htdig_noindex-->
  35. <!--beginarticle-->
  36. <PRE>Hi,
  37. At 1.130 of &quot;The Web Socket API&quot;, it adds the sub-protocol name must be an
  38. ASCII string with no U+000A LINE FEED (LF) or U+000D CARRIAGE RETURN (CR)
  39. characters in it.
  40. But &quot;The Web Socket protocol&quot; 3.1 Parsing Web Socket URLs, says
  41. 1. If /protocol/ is specified but is either the empty string or
  42. contains characters that are not in the range U+0021 to U+007E,
  43. then fail this algorithm.
  44. Alghough I think it should not be a part of &quot;Parsing Web Socket URLs&quot;, but
  45. the /protocol/ here is talking about sub-protocol name in Web Socket
  46. constructor, right?
  47. I'm wondering why &quot;The Web Socket API&quot; has loose definition about
  48. sub-protocol name. If sub-protocol name contains a character less than
  49. U+0021, it fails and throw a SYNTAX_ERR exception ?
  50. --
  51. ukai
  52. -------------- next part --------------
  53. An HTML attachment was scrubbed...
  54. URL: &lt;<A HREF="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20091207/cf198655/attachment.htm">http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20091207/cf198655/attachment.htm</A>&gt;
  55. </PRE>
  56. <!--endarticle-->
  57. <!--htdig_noindex-->
  58. <HR>
  59. <P><UL>
  60. <!--threads-->
  61. <LI>Previous message: <A HREF="024340.html">[whatwg] Audio Panning
  62. </A></li>
  63. <LI>Next message: <A HREF="024345.html">[whatwg] [hybi] WebSocket sub protocol name.
  64. </A></li>
  65. <LI> <B>Messages sorted by:</B>
  66. <a href="date.html#24343">[ date ]</a>
  67. <a href="thread.html#24343">[ thread ]</a>
  68. <a href="subject.html#24343">[ subject ]</a>
  69. <a href="author.html#24343">[ 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>