mirror of
https://github.com/WJQSERVER-STUDIO/ghproxy.git
synced 2026-02-03 08:11:11 +08:00
update
This commit is contained in:
parent
6c3280f850
commit
55158c0cb1
4 changed files with 141 additions and 241 deletions
|
|
@ -20,6 +20,7 @@ func removeWSHeader(req *http.Request) {
|
|||
}
|
||||
|
||||
func reWriteEncodeHeader(req *http.Request) {
|
||||
|
||||
if isGzipAccepted(req.Header) {
|
||||
req.Header.Set("Content-Encoding", "gzip")
|
||||
req.Header.Set("Accept-Encoding", "gzip")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue