/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
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
- <HTML>
- <HEAD>
- <TITLE> [whatwg] WebSocket sub protocol name.
- </TITLE>
- <LINK REL="Index" HREF="index.html" >
- <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">
- <META NAME="robots" CONTENT="index,nofollow">
- <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
- <LINK REL="Previous" HREF="024340.html">
- <LINK REL="Next" HREF="024345.html">
- </HEAD>
- <BODY BGCOLOR="#ffffff">
- <H1>[whatwg] WebSocket sub protocol name.</H1>
- <!--htdig_noindex-->
- <B>Fumitoshi Ukai (鵜飼文敏)</B>
- <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"
- TITLE="[whatwg] WebSocket sub protocol name.">ukai at chromium.org
- </A><BR>
- <I>Sun Dec 6 20:58:06 PST 2009</I>
- <P><UL>
- <LI>Previous message: <A HREF="024340.html">[whatwg] Audio Panning
- </A></li>
- <LI>Next message: <A HREF="024345.html">[whatwg] [hybi] WebSocket sub protocol name.
- </A></li>
- <LI> <B>Messages sorted by:</B>
- <a href="date.html#24343">[ date ]</a>
- <a href="thread.html#24343">[ thread ]</a>
- <a href="subject.html#24343">[ subject ]</a>
- <a href="author.html#24343">[ author ]</a>
- </LI>
- </UL>
- <HR>
- <!--/htdig_noindex-->
- <!--beginarticle-->
- <PRE>Hi,
- At 1.130 of "The Web Socket API", it adds the sub-protocol name must be an
- ASCII string with no U+000A LINE FEED (LF) or U+000D CARRIAGE RETURN (CR)
- characters in it.
- But "The Web Socket protocol" 3.1 Parsing Web Socket URLs, says
- 1. If /protocol/ is specified but is either the empty string or
- contains characters that are not in the range U+0021 to U+007E,
- then fail this algorithm.
- Alghough I think it should not be a part of "Parsing Web Socket URLs", but
- the /protocol/ here is talking about sub-protocol name in Web Socket
- constructor, right?
- I'm wondering why "The Web Socket API" has loose definition about
- sub-protocol name. If sub-protocol name contains a character less than
- U+0021, it fails and throw a SYNTAX_ERR exception ?
- --
- ukai
- -------------- next part --------------
- An HTML attachment was scrubbed...
- URL: <<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>>
- </PRE>
- <!--endarticle-->
- <!--htdig_noindex-->
- <HR>
- <P><UL>
- <!--threads-->
- <LI>Previous message: <A HREF="024340.html">[whatwg] Audio Panning
- </A></li>
- <LI>Next message: <A HREF="024345.html">[whatwg] [hybi] WebSocket sub protocol name.
- </A></li>
- <LI> <B>Messages sorted by:</B>
- <a href="date.html#24343">[ date ]</a>
- <a href="thread.html#24343">[ thread ]</a>
- <a href="subject.html#24343">[ subject ]</a>
- <a href="author.html#24343">[ author ]</a>
- </LI>
- </UL>
- <hr>
- <a href="http://lists.whatwg.org/listinfo.cgi/whatwg-whatwg.org">More information about the whatwg
- mailing list</a><br>
- <!--/htdig_noindex-->
- </body></html>