EnableAutoDecode enable auto-detect charset and decode to utf-8 (enabled by default).
()
| 837 | |
| 838 | // EnableAutoDecode enable auto-detect charset and decode to utf-8 (enabled by default). |
| 839 | func (c *Client) EnableAutoDecode() *Client { |
| 840 | c.Transport.EnableAutoDecode() |
| 841 | return c |
| 842 | } |
| 843 | |
| 844 | // SetUserAgent set the "User-Agent" header for requests fired from the client. |
| 845 | func (c *Client) SetUserAgent(userAgent string) *Client { |
no outgoing calls