/lists.whatwg.org/pipermail/whatwg-whatwg.org/2010-May/068496.html

https://github.com/whatwg/whatwg.org · HTML · 89 lines · 74 code · 8 blank · 7 comment · 0 complexity · 9b35359fa244bdfafbfd72b0af56ffec MD5 · raw file

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <HTML>
  3. <HEAD>
  4. <TITLE> [whatwg] WebSocket set-cookie
  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%20set-cookie&In-Reply-To=%3Cop.vccaoocoidj3kv%40dyn105.gothenburg.osa%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="068493.html">
  16. <LINK REL="Next" HREF="068516.html">
  17. </HEAD>
  18. <BODY BGCOLOR="#ffffff">
  19. <H1>[whatwg] WebSocket set-cookie</H1>
  20. <!--htdig_noindex-->
  21. <B>Simon Pieters</B>
  22. <A HREF="mailto:whatwg%40lists.whatwg.org?Subject=Re%3A%20%5Bwhatwg%5D%20WebSocket%20set-cookie&In-Reply-To=%3Cop.vccaoocoidj3kv%40dyn105.gothenburg.osa%3E"
  23. TITLE="[whatwg] WebSocket set-cookie">simonp at opera.com
  24. </A><BR>
  25. <I>Fri May 7 07:32:38 PDT 2010</I>
  26. <P><UL>
  27. <LI>Previous message: <A HREF="068493.html">[whatwg] WebSocket handshake: 0x0D in first &quot;line&quot;
  28. </A></li>
  29. <LI>Next message: <A HREF="068516.html">[whatwg] syncronous device upload
  30. </A></li>
  31. <LI> <B>Messages sorted by:</B>
  32. <a href="date.html#68496">[ date ]</a>
  33. <a href="thread.html#68496">[ thread ]</a>
  34. <a href="subject.html#68496">[ subject ]</a>
  35. <a href="author.html#68496">[ author ]</a>
  36. </LI>
  37. </UL>
  38. <HR>
  39. <!--/htdig_noindex-->
  40. <!--beginarticle-->
  41. <PRE>establish a WebSocket connection
  42. [[
  43. 41. ...
  44. If the entry's name is &quot;set-cookie&quot; or &quot;set-cookie2&quot; or another
  45. cookie-related field name
  46. If the relevant specification is supported by the user agent, handle the
  47. cookie as defined by the appropriate specification, with the resource
  48. being the one with the host host, the port port, the path (and possibly
  49. query parameters) resource name, and the scheme http if secure is false
  50. and https if secure is true. [COOKIES]
  51. If the relevant specification is not supported by the user agent, then the
  52. field must be ignored.
  53. ]]
  54. At this point, the handshake can still fail. It seems bad to set cookies
  55. if the handshake fails. We want to process set-cookie when the handshake
  56. has succeeded (but before changing readyState and firing 'open').
  57. --
  58. Simon Pieters
  59. Opera Software
  60. </PRE>
  61. <!--endarticle-->
  62. <!--htdig_noindex-->
  63. <HR>
  64. <P><UL>
  65. <!--threads-->
  66. <LI>Previous message: <A HREF="068493.html">[whatwg] WebSocket handshake: 0x0D in first &quot;line&quot;
  67. </A></li>
  68. <LI>Next message: <A HREF="068516.html">[whatwg] syncronous device upload
  69. </A></li>
  70. <LI> <B>Messages sorted by:</B>
  71. <a href="date.html#68496">[ date ]</a>
  72. <a href="thread.html#68496">[ thread ]</a>
  73. <a href="subject.html#68496">[ subject ]</a>
  74. <a href="author.html#68496">[ 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>