mirror of
https://github.com/rust-unofficial/awesome-rust
synced 2024-11-19 21:25:33 +00:00
Fix accept header so we also get github svgs
This commit is contained in:
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…
Reference in New Issue
Block a user