Commit Graph

14 Commits

Author SHA1 Message Date
Omar Polo 797c527a00 minor semplifications to some sentences 2023-10-19 21:33:38 +00:00
Omar Polo 4645a68a10 SEE ALSO for gg too 2023-10-18 19:29:55 +00:00
Omar Polo c7bcd4a8a9 gg: exit with the gemini response code
0 is still used for 2X replies, and "external" failures (e.g.
network, tls, ...) are still using exit code 1.  Gemini non-2x
replies now get their response code reported as-is as status code.
2023-10-15 15:06:34 +00:00
Omar Polo 0eeee6f321 minor tweaks to gg(1) 2023-08-03 22:07:40 +00:00
Omar Polo 3a877237a7 gg.1: improve -d description 2023-06-24 13:04:40 +00:00
Omar Polo 21cf735f37 remove -v from gg
undocumented flag to dump to stdout the request before doing it.  Not
useful, it's debugging leftover.
2022-10-30 08:26:22 +00:00
Omar Polo d78dbe8db5 fix gg -P flag description: the `:' is in the optional part 2022-01-30 13:31:29 +00:00
Omar Polo e89f473904 s/whole/all 2022-01-27 10:37:28 +00:00
Omar Polo febfcde82b fix and sync gg usage 2022-01-13 10:13:32 +00:00
Omar Polo 5c7abf0151 reimplement gg
This is a better version of gg.  Initially it grew with flags directly
needed to the specific test cases I wanted to write, so it's ugly to use
but handy for tests.

This is a new and re-thought implementation that it is (hopefully)
easier to use both and "curl-like for gemini" but also for scripts and
tests cases.

One completely new feature is the proxying support with -P to send the
request to the given host.
2021-12-29 18:01:08 +00:00
Omar Polo f48e3b85a9 move gg to regress 2021-05-24 13:48:55 +00:00
Omar Polo 31b3662c54 gg: add support for client certs 2021-02-09 15:01:12 +00:00
Omar Polo 58173ca20e customizable servname & verbose + misc tweaks
* add -H for explicit servname (for SNI)
* add -v to print also the request
* misc tweaks: move *flag variables to global scope (initialisation to
  0 for free!) and explicit handshake.
2021-01-27 14:48:23 +00:00
Omar Polo 497977d501 add gg, a barebones Gemini client 2021-01-23 16:56:24 +00:00