This commit is contained in:
2025-09-28 15:21:42 +08:00
parent 3524e34c13
commit a94c67eb18

View File

@@ -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()