diff --git a/logtail/logtail.go b/logtail/logtail.go index 1602d3459..280f15f46 100644 --- a/logtail/logtail.go +++ b/logtail/logtail.go @@ -295,6 +295,7 @@ func (l *logger) upload(ctx context.Context, body []byte) (uploaded bool, err er if l.zstdEncoder != nil { req.Header.Add("Content-Encoding", "zstd") } + req.Header["User-Agent"] = nil // not worth writing one; save some bytes maxUploadTime := 45 * time.Second ctx, cancel := context.WithTimeout(ctx, maxUploadTime)