From e9565983f8d33c68dd3d29813a41817c94d6e728 Mon Sep 17 00:00:00 2001 From: Tobias Gesellchen Date: Sun, 17 May 2026 20:33:42 +0200 Subject: [PATCH] ci(link-check): accept HTTP 202 as a live response MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Check documentation links job on PR #320 flagged a link in README.md to eur-lex.europa.eu as dead because the EU legal-content portal responds with HTTP 202 (Accepted) to HEAD requests. 202 is a 2xx success class — the server responded and the link is valid; it just means "the request was accepted and is being processed". Adding 202 alongside 200 / 206 in aliveStatusCodes fixes the false positive broadly, not just for this one URL. Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/markdown-link-check.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/markdown-link-check.json b/.github/markdown-link-check.json index b475d9b..fa4e79b 100644 --- a/.github/markdown-link-check.json +++ b/.github/markdown-link-check.json @@ -3,7 +3,7 @@ "retryOn429": true, "retryCount": 3, "fallbackRetryDelay": "30s", - "aliveStatusCodes": [200, 206], + "aliveStatusCodes": [200, 202, 206], "ignorePatterns": [ { "pattern": "^http://localhost"