mirror of
https://github.com/rust-unofficial/awesome-rust
synced 2024-11-24 04:43:04 +00:00
Merge pull request #845 from palfrey/github-workflows-accept
Github workflows have started to do 406, unless we add an explicit image to the Accept header
This commit is contained in:
commit
396dcf669a
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ fn get_url(url: String) -> BoxFuture<'static, (String, Result<(), CheckerError>)
|
|||
debug!("Running {}", url);
|
||||
let resp = CLIENT
|
||||
.get(&url)
|
||||
.header(header::ACCEPT, "text/html, */*;q=0.8")
|
||||
.header(header::ACCEPT, "image/svg+xml, text/html, */*;q=0.8")
|
||||
.send()
|
||||
.await;
|
||||
match resp {
|
||||
|
|
Loading…
Reference in a new issue