Fix accept header so we also get github svgs

This commit is contained in:
Tom Parker-Shemilt 2020-01-13 21:53:25 +00:00
parent a6b79d73ec
commit ff703bac03

View File

@ -72,7 +72,7 @@ async fn get_url(url: String) -> (String, Result<String>) {
debug!("Running {}", url); debug!("Running {}", url);
let resp = CLIENT let resp = CLIENT
.get(&url) .get(&url)
.header(header::ACCEPT, "text/html") .header(header::ACCEPT, "text/html, */*;q=0.8")
.send() .send()
.await; .await;
match resp { match resp {