Krikri::PluginHelpers::HTTPDownload::Options
Constructors
Instance methods
Basic auth timing, mirroring Ansible's fetch_url: true sends the Authorization header on the FIRST request; false (real get_url/uri's default) holds it back until a 401 challenge, then retries once WITH the header. The default here is true only to preserve the pre-existing behavior of the helper's original consumers; get_url passes the real param's default (false) through.
Real fetch_url downloads through urllib's default ProxyHandler, which routes each request through the http_proxy/https_proxy env vars (no_proxy bypass included) of the module process - the very env Ansible populates from the task's environment: keyword. The caller picks the values out of its own env sources (task overlay over ENV) since this helper never sees the task environment; empty means "no proxy for that scheme", exactly like getproxies_environment treats an unset var.