Title: [200120] trunk/Source/WebCore
Revision
200120
Author
commit-qu...@webkit.org
Date
2016-04-26 20:21:58 -0700 (Tue, 26 Apr 2016)

Log Message

Support legacy HTTP headers in WebSockets
https://bugs.webkit.org/show_bug.cgi?id=157057

Patch by John Wilander <wilan...@apple.com> on 2016-04-26
Reviewed by Brent Fulgham.

No new tests since these headers are not officially supported and should not be used.

* platform/network/HTTPHeaderNames.in:
    Added four legacy headers needed to support older WebSockets servers.
    Two of them are in the draft from August 2010: https://whatwg.org/specs/web-socket-protocol/

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (200119 => 200120)


--- trunk/Source/WebCore/ChangeLog	2016-04-27 02:14:35 UTC (rev 200119)
+++ trunk/Source/WebCore/ChangeLog	2016-04-27 03:21:58 UTC (rev 200120)
@@ -1,3 +1,16 @@
+2016-04-26  John Wilander  <wilan...@apple.com>
+
+        Support legacy HTTP headers in WebSockets
+        https://bugs.webkit.org/show_bug.cgi?id=157057
+
+        Reviewed by Brent Fulgham.
+
+        No new tests since these headers are not officially supported and should not be used.
+
+        * platform/network/HTTPHeaderNames.in:
+            Added four legacy headers needed to support older WebSockets servers.
+            Two of them are in the draft from August 2010: https://whatwg.org/specs/web-socket-protocol/
+
 2016-04-26  Dean Jackson  <d...@apple.com>
 
         RTL native <select> buttons should have arrows on left

Modified: trunk/Source/WebCore/platform/network/HTTPHeaderNames.in (200119 => 200120)


--- trunk/Source/WebCore/platform/network/HTTPHeaderNames.in	2016-04-27 02:14:35 UTC (rev 200119)
+++ trunk/Source/WebCore/platform/network/HTTPHeaderNames.in	2016-04-27 03:21:58 UTC (rev 200120)
@@ -108,3 +108,10 @@
 Icy-Name
 Icy-Title
 Icy-URL
+
+// These are specific to legacy WebSockets implementations
+// https://bugs.webkit.org/show_bug.cgi?id=157057
+Sec-WebSocket-Location
+Sec-WebSocket-Origin
+WebSocket-Location
+WebSocket-Origin
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to