From 3524e34c135cc19e0ca94d102f22522da8e49e1b Mon Sep 17 00:00:00 2001 From: yuetsh <517252939@qq.com> Date: Sun, 28 Sep 2025 15:19:44 +0800 Subject: [PATCH] fix header --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index 62fe04a..8954667 100644 --- a/main.go +++ b/main.go @@ -145,6 +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") c.Status(http.StatusOK) c.Writer.WriteHeaderNow()