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/
| 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". |
| 37 | type ValuesProvider interface { |
| 38 | Values() url.Values |
| 39 | } |
| 40 | |
| 41 | // CookiesProvider interface gets the cookies to send with the request. |
| 42 | type CookiesProvider interface { |