Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7e9449a

Browse files
JohnTitorTshepang Mbambo
authored andcommittedFeb 6, 2023
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 0591410 commit 7e9449a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎book.toml

Lines changed: 1 addition & 1 deletion
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)
Please sign in to comment.