From 4dfc73abd1d6e61b09e1138a50696e34f1e9035e Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Mon, 13 Oct 2025 11:50:13 -0400 Subject: [PATCH] fix(lib): de-flake package lib tests (#1187) Signed-off-by: Xe Iaso --- lib/anubis_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/anubis_test.go b/lib/anubis_test.go index 1a0b2d97..f8993c37 100644 --- a/lib/anubis_test.go +++ b/lib/anubis_test.go @@ -194,6 +194,7 @@ func (u *userAgentRoundTripper) RoundTrip(req *http.Request) (*http.Response, er // Only set if not already present req = req.Clone(req.Context()) // avoid mutating original request req.Header.Set("User-Agent", "Mozilla/5.0") + req.Header.Set("Accept-Encoding", "gzip") return u.rt.RoundTrip(req) }