package github // WithAllowInsecureHTTPForTest permits the client to send credentials over HTTP // without requiring the REVIEW_BOT_ALLOW_INSECURE environment variable. // This is intended exclusively for tests using httptest.Server. // // This function lives in export_test.go so it is only available to test // binaries and does not appear in the production API surface. func WithAllowInsecureHTTPForTest() ClientOption { return func(c *clientConfig) { c.allowInsecureHTTP = true c.testBypass = true } }