mirror of
https://github.com/WJQSERVER-STUDIO/ghproxy.git
synced 2026-02-03 00:01:10 +08:00
3.0.1
This commit is contained in:
parent
cafc713a65
commit
8739027772
7 changed files with 21 additions and 8 deletions
|
|
@ -20,7 +20,6 @@ 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