MCPcopy Create free account
hub / github.com/imroc/req / EnableInsecureSkipVerify

Method EnableInsecureSkipVerify

client.go:412–415  ·  view source on GitHub ↗

EnableInsecureSkipVerify enable send https without verifying the server's certificates (disabled by default).

()

Source from the content-addressed store, hash-verified

410// EnableInsecureSkipVerify enable send https without verifying
411// the server's certificates (disabled by default).
412func (c *Client) EnableInsecureSkipVerify() *Client {
413 c.GetTLSClientConfig().InsecureSkipVerify = true
414 return c
415}
416
417// DisableInsecureSkipVerify disable send https without verifying
418// the server's certificates (disabled by default).

Callers 3

tcFunction · 0.80
TestInsecureSkipVerifyFunction · 0.80
EnableInsecureSkipVerifyFunction · 0.80

Calls 1

GetTLSClientConfigMethod · 0.95

Tested by 2

tcFunction · 0.64
TestInsecureSkipVerifyFunction · 0.64