From a5b82bd37b999ca65843815f502088a5384c06ec Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Mon, 13 Oct 2025 15:44:32 +0000 Subject: [PATCH] fix(lib): de-flake package lib tests 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) }