Skip to content

Commit a80f180

Browse files
JohnTitortshepang
authored andcommitted
Do not add accept header on linkcheck
It seems that this header causes "406 Not Acceptable" failures: https://github.com/rust-lang/rustc-dev-guide/actions/runs/4092776683/jobs/7057742900
1 parent 5471f42 commit a80f180

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ cache-timeout = 86400
4141
warning-policy = "error"
4242

4343
[output.linkcheck.http-headers]
44-
'github\.com' = ["Accept: application/vnd.github+json", "Authorization: Bearer $GITHUB_TOKEN"]
44+
'github\.com' = ["Authorization: Bearer $GITHUB_TOKEN"]
4545

4646
[output.html.redirect]
4747
"/compiletest.html" = "tests/compiletest.html"

0 commit comments

Comments
 (0)