1
0
mirror of https://git.sr.ht/~sircmpwn/gmni synced 2024-11-22 20:32:03 +01:00
Commit Graph

171 Commits

Author SHA1 Message Date
Drew DeVault
05d112b7d3 Prohibit >5 redirects 2020-09-20 16:44:43 -04:00
Drew DeVault
7c453fb45f Implement SENSITIVE INPUT response 2020-09-20 16:41:05 -04:00
Drew DeVault
9551899298 Add response status enum 2020-09-20 16:32:01 -04:00
Drew DeVault
02c2be62da assert(url) after setting input URL 2020-09-20 15:14:54 -04:00
Drew DeVault
eb6a4e9740 Set SOCK_STREAM regardless of hints 2020-09-20 15:14:04 -04:00
Drew DeVault
73f5a5bc2b client.h: clarify some constraints 2020-09-20 15:10:45 -04:00
Drew DeVault
37396a375a Add make install target 2020-09-20 14:55:33 -04:00
Drew DeVault
207a72012e Rename binary from gmnic -> gmni 2020-09-20 14:51:25 -04:00
Drew DeVault
a3d5169d71 Add README.md 2020-09-20 14:49:57 -04:00
Drew DeVault
b136eea98a Add man page 2020-09-20 14:44:30 -04:00
Drew DeVault
c08e934c44 Change -C to -E for client certificates
More consistent with curl
2020-09-20 14:41:03 -04:00
Drew DeVault
262ccc2005 Suppress trailing newline if stdout is not a TTY 2020-09-20 14:37:43 -04:00
Drew DeVault
2e593cd48b config.sh: drop unused LIBSSL variable 2020-09-20 14:25:42 -04:00
Drew DeVault
eb01fde600 Implement -4 and -6
To force IPv4 and IPv6 respectively.
2020-09-20 14:21:36 -04:00
Drew DeVault
fd914b3aa4 Implement -L flag (follow redirects) 2020-09-20 14:18:40 -04:00
Drew DeVault
ee6fe47e44 Correct trailing line feed detection 2020-09-20 14:18:26 -04:00
Drew DeVault
4bc55aaa13 Print line feed on text/* response if not included
Adds -l flag to suppress this behavior
2020-09-20 14:13:18 -04:00
Drew DeVault
78eb57cad4 Implement input 2020-09-20 14:09:45 -04:00
Drew DeVault
9b1a618b42 Implement reading response body & meta 2020-09-20 13:30:28 -04:00
Drew DeVault
abcb9caf86 Initial request riggings 2020-09-20 13:06:34 -04:00
Drew DeVault
ccec255833 Initial commit 2020-09-20 10:17:39 -04:00