Skip to content

fix: head 404/405 falls back to GET#46

Merged
dacharyc merged 1 commit intomainfrom
fix/head-fallback-to-get
Mar 25, 2026
Merged

fix: head 404/405 falls back to GET#46
dacharyc merged 1 commit intomainfrom
fix/head-fallback-to-get

Conversation

@dacharyc
Copy link
Copy Markdown
Member

@dacharyc dacharyc commented Mar 25, 2026

What this PR does

Per Issue #45 , for the case where sites 404/405 on HEAD requests, the link checker should fall back and try GET.

How to test

Added 404/405 fallback to GET tests, including an SPA-like scenario that requires an Accept header. Tested built tool with the reporter's vetkd skill to confirm the fix.

Checklist

  • Tests pass locally (go test -race ./... -count=1)
  • Lint passes locally (golangci-lint run)
  • New functionality includes tests
  • Breaking changes are noted above (if any)

@dacharyc dacharyc merged commit 8864618 into main Mar 25, 2026
2 checks passed
@dacharyc dacharyc deleted the fix/head-fallback-to-get branch March 25, 2026 01:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant