MCPcopy Create free account
hub / github.com/PuerkitoBio/fetchbot / ValuesProvider

Interface ValuesProvider

cmd.go:37–39  ·  view source on GitHub ↗

ValuesProvider interface gets the values to send as the Body of the request. It has lower priority than the ReaderProvider interface, so that if both interfaces are implemented, the ReaderProvider is used. If the request has no explicit Content-Type set, it will be automatically set to "application/

Source from the content-addressed store, hash-verified

35// the ReaderProvider is used. If the request has no explicit Content-Type set, it will be automatically
36// set to "application/x-www-form-urlencoded".
37type ValuesProvider interface {
38 Values() url.Values
39}
40
41// CookiesProvider interface gets the cookies to send with the request.
42type CookiesProvider interface {

Callers 1

doRequestMethod · 0.65

Implementers 2

valuesCmdcmd_test.go
fullCmdcmd_test.go

Calls

no outgoing calls

Tested by

no test coverage detected