From 0f27ec700eeafe8241b7e384112a01cea7dfa11a Mon Sep 17 00:00:00 2001 From: Tristan Le Guern Date: Tue, 6 Nov 2018 13:05:12 +0000 Subject: [PATCH] Add OpenBSD ftp(1) to the PLAIN_TEXT list MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The [ftp](http://man.openbsd.org/ftp)(1) command is the default tool to fetch files over HTTP on OpenBSD. It could be nice to add it to the PLAIN_TEXT_AGENTS list so installing curl or wget is not necessary. Its user-agent is, as described in the man page, “OpenBSD ftp”. --- lib/globals.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/globals.py b/lib/globals.py index b10638b..7187f68 100644 --- a/lib/globals.py +++ b/lib/globals.py @@ -59,7 +59,8 @@ PLAIN_TEXT_AGENTS = [ "httpie", "lwp-request", "wget", - "python-requests" + "python-requests", + "OpenBSD ftp" ] PLAIN_TEXT_PAGES = [':help', ':bash.function', ':translation']