MCPcopy Index your code
hub / github.com/imroc/req / DisableAutoDecode

Method DisableAutoDecode

client.go:833–836  ·  view source on GitHub ↗

DisableAutoDecode disable auto-detect charset and decode to utf-8 (enabled by default).

()

Source from the content-addressed store, hash-verified

831
832// DisableAutoDecode disable auto-detect charset and decode to utf-8 (enabled by default).
833func (c *Client) DisableAutoDecode() *Client {
834 c.Transport.DisableAutoDecode()
835 return c
836}
837
838// EnableAutoDecode enable auto-detect charset and decode to utf-8 (enabled by default).
839func (c *Client) EnableAutoDecode() *Client {

Callers 2

TestAutoDecodeFunction · 0.45
DisableAutoDecodeFunction · 0.45

Calls

no outgoing calls

Tested by 1

TestAutoDecodeFunction · 0.36