hurl

Gemini/Gopher/HTTP/HTTPS file grabber
git clone git://bvnf.space/hurl.git
Log | Files | Refs | README | LICENSE

commit bbfad0846ba3e121f6561e8964bfa6e22cc9df55
parent 985ba08eccf5127729d7b0904cca31ed3ffd575a
Author: phoebos <ben@bvnf.space>
Date:   Fri,  7 Jan 2022 00:19:12 +0000

README, manpage: mention Gemini support

Diffstat:
MREADME | 8++++++--
Mhurl.1 | 12++++++------
2 files changed, 12 insertions(+), 8 deletions(-)

diff --git a/README b/README @@ -1,14 +1,14 @@ hurl ---- -Relatively simple HTTP, HTTPS and Gopher client/file grabber. +Relatively simple HTTP, HTTPS, Gopher and Gemini client/file grabber. Why? ---- Sometimes (or most of the time?) you just want to fetch a file via the HTTP, -HTTPS or Gopher protocol. +HTTPS, Gopher or Gemini protocol. The focus of this tool is only this. @@ -55,4 +55,8 @@ Anti-features - No Gopher text handling (".\r\n"). +- No Gemini certificate verification. +- No Gemini client certificate support. +- No Gemini redirect support. + - ... etc... diff --git a/hurl.1 b/hurl.1 @@ -3,7 +3,7 @@ .Os .Sh NAME .Nm hurl -.Nd HTTP/HTTPS/Gopher file grabber +.Nd HTTP/HTTPS/Gopher/Gemini file grabber .Sh SYNOPSIS .Nm .Op Fl H Ar headers @@ -15,7 +15,7 @@ .Nm fetches data and writes it to stdout. .Nm -supports the protocols: HTTP, HTTPS and Gopher. +supports the protocols: HTTP, HTTPS, Gopher and Gemini. .Pp The options are as follows: .Bl -tag -width Ds @@ -35,10 +35,10 @@ seconds. The default is to use no timer. .El .Pp -For HTTP and HTTPS it will write the data except the header to stdout when the -HTTP statuscode is "200 OK" and exit with statuscode 0 when all data is -successfully written. -When the header is retrieved but it is not "200 OK" it will write the HTTP +For HTTP, HTTPS and Gemini it will write the data except the header to stdout when the +HTTP statuscode is "200 OK" or Gemini statuscode is "20" and exit with +statuscode 0 when all data is successfully written. +When the header is retrieved but it is not "200 OK" or "20" it will write the header to stderr and exit with a non-zero statuscode. .Pp For Gopher it will write the data to stdout and exit with statuscode 0 when all