Files
url-cleaner/test/index.spec.ts
m5r 1210123684 fall back to GET when HEAD fails for redirect detection
some URL shorteners (e.g. amzn.eu) return 404 for HEAD requests
but 301 for GET. try HEAD first, fall back to GET on 404/405.
also replace the old test guard hack with proper fetchMock usage.
2026-02-08 15:50:41 +01:00

11 KiB