From bbee319544d35b69118c92f9e0734a4a0a9bb870 Mon Sep 17 00:00:00 2001 From: Kyler Chin <7539174+kylerchin@users.noreply.github.com> Date: Wed, 23 Oct 2024 00:36:38 -0700 Subject: [PATCH] let rust tls handle headers --- src/maple/transitland_download.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/maple/transitland_download.rs b/src/maple/transitland_download.rs index a2435fb..62d8667 100644 --- a/src/maple/transitland_download.rs +++ b/src/maple/transitland_download.rs @@ -50,12 +50,6 @@ async fn try_to_download( let request = add_auth_headers(request, feed_id); - // get hostname - - let host = parsed_url.host_str().unwrap(); - - let request = request.header("Host", host); - let response = request.send().await; match response {