Skip to main content

agent

Function agent 

Source
pub fn agent() -> &'static Agent
👎Deprecated since 0.3.1:

use agnt_tools::Fetch directly; this shim has no SSRF guard and will be removed in v0.4

Expand description

Deprecated: returns a shared ureq Agent with redirects(0) and the system TLS store, but without the SSRF resolver. Use crate::Fetch for any attacker-influenced URL.