diff --git a/cmd/srv.go b/cmd/srv.go index 02e4c45..e289d77 100644 --- a/cmd/srv.go +++ b/cmd/srv.go @@ -30,6 +30,7 @@ var plainTextAgents = []string{ "fetch", "aiohttp", "http_get", + "xh", } var lruCache *lru.Cache diff --git a/lib/globals.py b/lib/globals.py index e79c9f0..19bd0d5 100644 --- a/lib/globals.py +++ b/lib/globals.py @@ -84,6 +84,7 @@ PLAIN_TEXT_AGENTS = [ "fetch", "aiohttp", "http_get", + "xh", ] PLAIN_TEXT_PAGES = [':help', ':bash.function', ':translation', ':iterm2']