diff options
author | Ori Bernstein <ori@eigenstate.org> | 2020-12-17 20:26:38 -0800 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2020-12-17 20:26:38 -0800 |
commit | c2aa8c997aa9f7a6f0bc6cb1ad99cccede44fc72 (patch) | |
tree | 7b43d7ca692f49af32ba4ca19bd478ecf14a7123 /sys/man | |
parent | 658c1b9f68065a4e9ac7f1e28b3eedbba36c3099 (diff) |
hpost: support custom headers (thanks julienxx)
hget supports adding custom headers with -r;
it makes sense for hpost to do the same, both
because custom headers are more likely necessary
with POSTs, and for consistency.
Diffstat (limited to 'sys/man')
-rw-r--r-- | sys/man/1/hget | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/man/1/hget b/sys/man/1/hget index c4238344a..64147e8c3 100644 --- a/sys/man/1/hget +++ b/sys/man/1/hget @@ -38,6 +38,9 @@ hget, hpost, webpaste, urlencode \- retrieve, post to a web page corresponding t .B -m .I action ] [ +.B -r +.I header +] [ .B -u ] .I url @@ -119,6 +122,9 @@ Option .B -r sends an arbitrary HTTP .IR header . +The +.B -r +flag can be repeated to send multiple headers. .PP Option .B -m |