fix
This commit is contained in:
2
main.go
2
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()
|
||||
|
||||
Reference in New Issue
Block a user