Skip to content

Commit

Permalink
let rust tls handle headers
Browse files Browse the repository at this point in the history
  • Loading branch information
kylerchin committed Oct 23, 2024
1 parent 43fced6 commit bbee319
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/maple/transitland_download.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit bbee319

Please sign in to comment.