Giteabot
2024-12-13 11:41:12 +08:00
committed by GitHub
co-authored by hiifong
parent 4fe19fc722
commit e7de2fc136
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -211,6 +211,7 @@ func createRequest(ctx context.Context, method, url string, headers map[string]s
req.Header.Set(key, value)
}
req.Header.Set("Accept", AcceptHeader)
req.Header.Set("User-Agent", UserAgentHeader)
return req, nil
}