Skip to main content

ENV_ALLOW_HTTP

Constant ENV_ALLOW_HTTP 

Source
pub const ENV_ALLOW_HTTP: &str = "GIT_REMOTE_OBJECT_STORE_ALLOW_HTTP";
Expand description

Environment override that allows cleartext *+http:// URLs against non-loopback hosts. Accepted when set to any of the truthy values recognised by [parse_bool_value] (1, true, yes, on, case-insensitive). Any other value — including the empty string, 0, false, no, off, or any unrecognised token — is treated as “not set” and the cleartext-HTTP gate stays closed.