修改版本号
This commit is contained in:
parent
4e154cc17b
commit
b90c59d6e7
2
curl.go
2
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user