Alex Musolino
a203d90474
hpost: fix usage text
2020-12-22 00:16:26 +10:30
Ori Bernstein
c2aa8c997a
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.
2020-12-17 20:26:38 -08:00
BurnZeZ
eee7357c27
hpost: delimit @filenames by newline so files with whitespace aren’t mangled
2017-07-17 04:56:09 +00:00
BurnZeZ
37e0d4ab29
hpost: fix field content mangling when newlines are present
2017-07-17 04:34:14 +00:00
cinap_lenrek
2e802acf34
hpost: break up tags with newlines to avoid sed line buffer limit
2014-11-16 01:59:29 +01:00
cinap_lenrek
4cd03abefe
hpost: fix multipart/form variable name mangeling when field value contains newlines
...
com='MH3U
pic unrelated
' hpost -u ... -m post com:$com
resulted in wrong field name like:
--HJBOUNDARY
Content-Disposition: form-data; name="com pic unrelated"
MH3U
pic unrelated
2014-11-15 23:51:01 +01:00
mischief
0598844894
hpost: fix Content-Type parameter separator for multipart/form-data POSTs
2014-01-13 17:57:45 -08:00
cinap_lenrek
91ce0a07ca
hpost: dont emit /bin/hpost but just hpost
...
just emiting "hpost" makes it simpler to override it as a
rc function.
2013-09-20 17:39:33 +02:00
cinap_lenrek
b5a6a26fd8
hpost: better handling of optional -u flag
2012-10-18 14:55:56 +02:00
cinap_lenrek
7c3ea4360b
hpost: add -l flag to get location url after POST
2012-10-18 14:38:07 +02:00
cinap_lenrek
143fcc0a42
formpost becomes hpost
2012-10-14 06:28:58 +02:00