diff options
| author | Shulhan <ms@kilabit.info> | 2026-02-04 21:53:00 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2026-02-04 21:53:00 +0700 |
| commit | b36d6e1f423bc405895d1b72e9a5915c4aa74ecc (patch) | |
| tree | 5bfa5c5377578a98c8f0e568f2a977da23f99adb /brokenlinks/testdata/web/brokenlinks.go | |
| parent | 6b5ed409a5f11ed437586c8b046bcfc43749361d (diff) | |
| download | jarink-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/brokenlinks.go')
| l--------- | brokenlinks/testdata/web/brokenlinks.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/brokenlinks/testdata/web/brokenlinks.go b/brokenlinks/testdata/web/brokenlinks.go new file mode 120000 index 0000000..019f032 --- /dev/null +++ b/brokenlinks/testdata/web/brokenlinks.go @@ -0,0 +1 @@ +../../brokenlinks.go
\ No newline at end of file |
