From fc030a30a870973d606293bb8203280b37068e2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BE=E9=B8=A3?= <94030128+ixingqiao@users.noreply.github.com> Date: Wed, 31 May 2023 11:18:57 +0800 Subject: [PATCH] Update HttpSession.cpp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 删除多增加的no-store部分的代码 --- src/Http/HttpSession.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Http/HttpSession.cpp b/src/Http/HttpSession.cpp index 160ba8e9..42c8cb1d 100644 --- a/src/Http/HttpSession.cpp +++ b/src/Http/HttpSession.cpp @@ -136,7 +136,6 @@ bool HttpSession::checkWebSocket(){ auto Sec_WebSocket_Accept = encodeBase64(SHA1::encode_bin(Sec_WebSocket_Key + "258EAFA5-E914-47DA-95CA-C5AB0DC85B11")); KeyValue headerOut; - headerOut["Cache-Control"] = "no-store"; headerOut["Upgrade"] = "websocket"; headerOut["Connection"] = "Upgrade"; headerOut["Sec-WebSocket-Accept"] = Sec_WebSocket_Accept;