From a94c67eb18facee63a20124b8eb263e62a846bfd Mon Sep 17 00:00:00 2001 From: yuetsh <517252939@qq.com> Date: Sun, 28 Sep 2025 15:21:42 +0800 Subject: [PATCH] fix --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 8954667..677821a 100644 --- a/main.go +++ b/main.go @@ -145,7 +145,7 @@ func main() { header.Set("Content-Type", "text/event-stream; charset=utf-8") header.Set("Cache-Control", "no-cache") header.Set("Connection", "keep-alive") - header.Set("Content-Encoding", "none") + header.Del("Content-Encoding") c.Status(http.StatusOK) c.Writer.WriteHeaderNow()