From b90c59d6e768931354c69be4bd22e9f31cce3725 Mon Sep 17 00:00:00 2001 From: starainrt Date: Thu, 21 Aug 2025 21:40:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=89=88=E6=9C=AC=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- curl.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curl.go b/curl.go index 199729f..2570dfe 100644 --- a/curl.go +++ b/curl.go @@ -1572,7 +1572,7 @@ func newRequest(ctx context.Context, uri string, method string, opts ...RequestO if strings.ToUpper(method) == "POST" { r.headers.Set("Content-Type", HEADER_FORM_URLENCODE) } - r.headers.Set("User-Agent", "B612 / 1.2.0") + r.headers.Set("User-Agent", "B612 Starnet / 0.3.0") for _, v := range opts { if v != nil { err = v(&r.RequestOpts)