mirror of
https://github.com/rust-unofficial/awesome-rust.git
synced 2024-11-20 11:36:11 -05:00
Fix accept header so we also get github svgs
This commit is contained in:
parent
a6b79d73ec
commit
ff703bac03
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ async fn get_url(url: String) -> (String, Result<String>) {
|
|||
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 {
|
||||
|
|
Loading…
Reference in a new issue