Update HttpSession.cpp

删除多增加的no-store部分的代码
This commit is contained in:
百鸣 2023-05-31 11:18:57 +08:00 committed by GitHub
parent 3d2fd42f29
commit fc030a30a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -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;