pub async fn fetch_bytes(
args: &DownloadArgs,
) -> Result<DownloadResult, FileManagerError>Expand description
Perform the actual HTTP fetch. Streams the body and aborts if it exceeds max_bytes.
Applies SSRF protection per crate::core::http::validate_url_not_private,
then enforces the download host allowlist (env ATI_DOWNLOAD_ALLOWLIST).