package github // AllowInsecureHTTPForTest permits sending credentials over plaintext HTTP // without requiring the REVIEW_BOT_ALLOW_INSECURE environment variable. // This is intended exclusively for test code using httptest.Server. // // Defined in a _test.go file so it is only available to test binaries. func AllowInsecureHTTPForTest() ClientOption { return func(cfg *clientConfig) { cfg.allowInsecureHTTP = true cfg.insecureIsTestBypass = true } }