fix: adapt to webclaw-tls v0.1.1 HeaderMap API change

Response.headers() now returns &http::HeaderMap instead of
&HashMap<String, String>. Updated FetchResult, is_pdf_content_type,
is_document_content_type, is_bot_protected, and all related tests.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Valerio 2026-03-30 12:09:50 +02:00
parent 68b9406ff5
commit 199dab6dfa
6 changed files with 62 additions and 51 deletions

View file

@ -22,3 +22,4 @@ zip = "2"
[dev-dependencies]
tempfile = "3"
http = "1"