diff --git a/src/error.rs b/src/error.rs index eb602b0..1c1c4d1 100644 --- a/src/error.rs +++ b/src/error.rs @@ -100,9 +100,6 @@ pub(crate) enum ErrorKind { #[error("Couldn't sign digest")] Signature(#[from] signature::Error), - #[error("Server {0} failed to validate our signature")] - SignedDelivery(String), - #[error("Couldn't parse the signature header")] HeaderValidation(#[from] actix_web::http::header::InvalidHeaderValue), diff --git a/src/requests.rs b/src/requests.rs index 12895e1..c278d60 100644 --- a/src/requests.rs +++ b/src/requests.rs @@ -224,9 +224,6 @@ impl Requests { if let Ok(bytes) = res.body().await { if let Ok(s) = String::from_utf8(bytes.as_ref().to_vec()) { - if s.to_lowercase().contains("http signature") { - return Err(ErrorKind::SignedDelivery(parsed_url.to_string()).into()); - } if !s.is_empty() { tracing::warn!("Response from {}, {}", parsed_url, s); }