mirror of
https://codeberg.org/git-pages/git-pages.git
synced 2026-06-10 13:30:49 +00:00
Fix implicit identity Accept-Encoding handling.
This commit is contained in:
+1
-1
@@ -115,7 +115,7 @@ func (e *HTTPEncodings) Negotiate(offers ...string) string {
|
||||
implicitIdentity = false
|
||||
}
|
||||
}
|
||||
if _, ok := prefs["identity"]; ok && implicitIdentity {
|
||||
if implicitIdentity {
|
||||
prefs["identity"] = -1 // sort last
|
||||
}
|
||||
encs := make([]httpAcceptOffer, len(offers))
|
||||
|
||||
Reference in New Issue
Block a user