aboutsummaryrefslogtreecommitdiff
path: root/brokenlinks/testdata/exp_cache.json
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/exp_cache.json
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/exp_cache.json')
-rw-r--r--brokenlinks/testdata/exp_cache.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/brokenlinks/testdata/exp_cache.json b/brokenlinks/testdata/exp_cache.json
index f9aa32a..bb8fa94 100644
--- a/brokenlinks/testdata/exp_cache.json
+++ b/brokenlinks/testdata/exp_cache.json
@@ -2,7 +2,7 @@
"scanned_links": {
"http://127.0.0.1:11900": {
"url": "http://127.0.0.1:11900",
- "size": 1064,
+ "size": 1141,
"status_code": 200
},
"http://127.0.0.1:11900/page2": {
@@ -12,7 +12,7 @@
},
"https://127.0.0.1:11838": {
"url": "https://127.0.0.1:11838",
- "size": 1064,
+ "size": 1141,
"status_code": 200
}
}