This commit is contained in:
WJQSERVER 2025-01-21 16:40:43 +08:00
parent ac6b641995
commit 9536cc5b49
4 changed files with 25 additions and 7 deletions

View file

@ -14,3 +14,8 @@ func setRequestHeaders(c *gin.Context, req *http.Request) {
}
}
}
func removeWSHeader(req *http.Request) {
req.Header.Del("Upgrade")
req.Header.Del("Connection")
}