Follow http redirects for autoconfigure (#3208)

This commit is contained in:
Hocuri
2022-04-10 19:27:05 +02:00
committed by GitHub
parent 0721c22073
commit f618c87ee5
3 changed files with 43 additions and 17 deletions

View File

@@ -699,11 +699,11 @@ pub enum Error {
error: quick_xml::Error,
},
#[error("Failed to get URL: {0}")]
ReadUrl(#[from] self::read_url::Error),
#[error("Number of redirection is exceeded")]
Redirection,
#[error("{0:#}")]
Other(#[from] anyhow::Error),
}
#[cfg(test)]