Fix accept header so we also get github svgs

pull/792/head
Tom Parker-Shemilt 5 years ago
parent a6b79d73ec
commit ff703bac03

@ -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 {

Loading…
Cancel
Save