mirror of
https://github.com/rust-unofficial/awesome-rust.git
synced 2024-11-27 11:44:52 -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