fix: remove application fingerprints from public responses

This commit is contained in:
ji ruo committed 2026-11-03 14:48:41 +08:00
1 parent c0b558fa1e
commit 5203176364
9 files changed
+195 -20

No files matched your search

+1 -1
View File
@@ -273,7 +273,7 @@ func TestBasicAuthGate(t *testing.T) {
if w.Code != tc.want {
t.Fatalf("status=%d want %d: %s", w.Code, tc.want, w.Body.String())
}
if w.Code == 401 && w.Header().Get("WWW-Authenticate") != `Basic realm="ARTEX", charset="UTF-8"` {
if w.Code == 401 && w.Header().Get("WWW-Authenticate") != `Basic realm="Restricted", charset="UTF-8"` {
t.Fatal("missing browser challenge")
}
})