diff options
Diffstat (limited to 'WebCore/websockets/WebSocketHandshake.cpp')
-rw-r--r-- | WebCore/websockets/WebSocketHandshake.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/WebCore/websockets/WebSocketHandshake.cpp b/WebCore/websockets/WebSocketHandshake.cpp index 883f84b..4471096 100644 --- a/WebCore/websockets/WebSocketHandshake.cpp +++ b/WebCore/websockets/WebSocketHandshake.cpp @@ -36,6 +36,7 @@ #include "AtomicString.h" #include "CString.h" +#include "Cookie.h" #include "CookieJar.h" #include "Document.h" #include "HTTPHeaderMap.h" @@ -186,7 +187,7 @@ CString WebSocketHandshake::clientHandshakeMessage() const // Set "Authorization: <credentials>" if authentication information exists for url. if (m_context->isDocument()) { Document* document = static_cast<Document*>(m_context); - String cookie = cookies(document, url); + String cookie = cookieRequestHeaderFieldValue(document, url); if (!cookie.isEmpty()) { builder.append("Cookie: "); builder.append(cookie); |