Revision history for MCP::Server::Tool::Web
0.1.0 2026-08-20T22:43:57+01:00
- Initial release: web_search, web_fetch, web_crawl, web_grep tool pack
- Fixed: Brave.rakumod sent `Accept-Encoding: gzip`, but Cro's
body-blob never decompresses a gzipped response unless the optional
Compress::Zlib module is installed, and this class hand-decodes
body-blob itself — so real (non-error) Brave responses came back
gzip-compressed, got mangled by the latin-1 decode fallback, and
web_search failed with a "not JSON" error on every live search.
The header is no longer sent, and !blob-text now recognises the
gzip magic bytes and dies with a clear diagnostic instead of
feeding compressed bytes to from-json, in case a proxy forces
compression regardless.