You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor the get_https_client function to eliminate code duplication
between the secure and insecure client configuration paths.
This change creates a single reqwest::Client::builder instance and
conditionally applies either danger_accept_invalid_certs(true) for
insecure mode or loads and adds the root certificate specified via
--certificate for secure mode.
This correctly avoids reading and processing the certificate file
unnecessarily when running with --insecure, fixing a logical
inconsistency where the certificate was loaded even if ignored.
Signed-off-by: Sergio Arroutbi <[email protected]>
0 commit comments