/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
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
- <HTML>
- <HEAD>
- <TITLE> [whatwg] [hybi] 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%20%5Bhybi%5D%20WebSocket%20sub%20protocol%20name.&In-Reply-To=%3C4B1E0D92.3040406%40gmx.de%3E">
- <META NAME="robots" CONTENT="index,nofollow">
- <style type="text/css">
- pre {
- white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */
- }
- </style>
- <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
- <LINK REL="Previous" HREF="066647.html">
- <LINK REL="Next" HREF="066628.html">
- </HEAD>
- <BODY BGCOLOR="#ffffff">
- <H1>[whatwg] [hybi] WebSocket sub protocol name.</H1>
- <!--htdig_noindex-->
- <B>Julian Reschke</B>
- <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"
- TITLE="[whatwg] [hybi] WebSocket sub protocol name.">julian.reschke at gmx.de
- </A><BR>
- <I>Tue Dec 8 00:25:54 PST 2009</I>
- <P><UL>
- <LI>Previous message: <A HREF="066647.html">[whatwg] [hybi] WebSocket sub protocol name.
- </A></li>
- <LI>Next message: <A HREF="066628.html">[whatwg] Interface objects defined in Web Workers outside workers
- </A></li>
- <LI> <B>Messages sorted by:</B>
- <a href="date.html#66646">[ date ]</a>
- <a href="thread.html#66646">[ thread ]</a>
- <a href="subject.html#66646">[ subject ]</a>
- <a href="author.html#66646">[ author ]</a>
- </LI>
- </UL>
- <HR>
- <!--/htdig_noindex-->
- <!--beginarticle-->
- <PRE>Ian Hickson wrote:
- ><i> On Tue, 8 Dec 2009, Fumitoshi Ukai (�~\飼�~V~G�~U~O) wrote:
- </I>>><i> protocol now accepts U+0020. Is it ok to use U+0020 only in /protocol/ ?
- </I>>><i> (e.g. new WebSocket("<A HREF="ws://example.com/">ws://example.com/</A>", " "); )
- </I>>><i> It seems space is optional after colon in field of handshake message, how
- </I>>><i> can we distinguish U+0020 and U+0020 U+0020 ?
- </I>><i>
- </I>><i> The space isn't optional (both the client and the server are required to
- </I>><i> send it before the subprotocol name), it's just that the client will
- </I>><i> handle a missing space gracefully. Maybe we should remove that "feature",
- </I>><i> and require that the space be present, closing the connection otherwise?
- </I>><i> I don't feel strongly either way.
- </I>><i>
- </I>><i> Anyway, the point is that "WebSocket-Protocol: " is the empty string, and
- </I>><i> "WebSocket-Protocol: " is a one-space protocol name.
- </I>><i> ...
- </I>
- Out of curiosity: why do you think it's wise to allow SP in protocol names?
- BR, Julian
- </PRE>
- <!--endarticle-->
- <!--htdig_noindex-->
- <HR>
- <P><UL>
- <!--threads-->
- <LI>Previous message: <A HREF="066647.html">[whatwg] [hybi] WebSocket sub protocol name.
- </A></li>
- <LI>Next message: <A HREF="066628.html">[whatwg] Interface objects defined in Web Workers outside workers
- </A></li>
- <LI> <B>Messages sorted by:</B>
- <a href="date.html#66646">[ date ]</a>
- <a href="thread.html#66646">[ thread ]</a>
- <a href="subject.html#66646">[ subject ]</a>
- <a href="author.html#66646">[ 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>