aboutsummaryrefslogtreecommitdiff
path: root/brokenlinks/testdata/web/index.html
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2026-02-04 21:53:00 +0700
committerShulhan <ms@kilabit.info>2026-02-04 21:53:00 +0700
commitb36d6e1f423bc405895d1b72e9a5915c4aa74ecc (patch)
tree5bfa5c5377578a98c8f0e568f2a977da23f99adb /brokenlinks/testdata/web/index.html
parent6b5ed409a5f11ed437586c8b046bcfc43749361d (diff)
downloadjarink-b36d6e1f423bc405895d1b72e9a5915c4aa74ecc.tar.xz
brokenlinks: skip parsing non-HTML page
If the response Content-type return other than "text/html", skip parsing the content and return immediately.
Diffstat (limited to 'brokenlinks/testdata/web/index.html')
-rw-r--r--brokenlinks/testdata/web/index.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/brokenlinks/testdata/web/index.html b/brokenlinks/testdata/web/index.html
index 88f1184..4eaf3ed 100644
--- a/brokenlinks/testdata/web/index.html
+++ b/brokenlinks/testdata/web/index.html
@@ -32,5 +32,8 @@ SPDX-License-Identifier: GPL-3.0-only
<!-- Pages with invalid domain -->
<a href="https://domain">Invalid domain</a>
+
+ <!-- Non-HTML file -->
+ <a href="/brokenlinks.go">brokenlinks.go</a>
</body>
</html>