MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / userAgent

Method userAgent

internal/pluginstore/github.go:180–185  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

178}
179
180func (c Client) userAgent() string {
181 if strings.TrimSpace(c.UserAgent) != "" {
182 return strings.TrimSpace(c.UserAgent)
183 }
184 return userAgent
185}
186
187func pluginStoreGetNoRedirect(ctx context.Context, client HTTPDoer, requestURL string, headers http.Header) (*http.Response, error) {
188 if client == nil {

Callers 1

getMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected