From ff703bac03c5f5e26061cb66b55f1986924b5bbf Mon Sep 17 00:00:00 2001 From: Tom Parker-Shemilt Date: Mon, 13 Jan 2020 21:53:25 +0000 Subject: [PATCH] Fix accept header so we also get github svgs --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index b72847c..bc6033b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -72,7 +72,7 @@ async fn get_url(url: String) -> (String, Result) { debug!("Running {}", url); let resp = CLIENT .get(&url) - .header(header::ACCEPT, "text/html") + .header(header::ACCEPT, "text/html, */*;q=0.8") .send() .await; match resp {