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