remove reWriteEncodeHeader

This commit is contained in:
wjqserver 2025-03-30 17:25:36 +08:00
parent 1adc3a3192
commit 978ece6fa0
2 changed files with 2 additions and 3 deletions

View file

@ -2,7 +2,6 @@ package proxy
import (
"net/http"
"strings"
"github.com/cloudwego/hertz/pkg/app"
)
@ -19,6 +18,7 @@ func removeWSHeader(req *http.Request) {
req.Header.Del("Connection")
}
/*
func reWriteEncodeHeader(req *http.Request) {
if isGzipAccepted(req.Header) {
@ -46,3 +46,4 @@ func isGzipAccepted(header http.Header) bool {
}
return false
}
*/