summaryrefslogtreecommitdiff
path: root/rc
diff options
context:
space:
mode:
authormischief <mischief@offblast.org>2014-01-13 17:57:45 -0800
committermischief <mischief@offblast.org>2014-01-13 17:57:45 -0800
commit05988448945646b95abd7cc1ceb41a0a7dbcc057 (patch)
tree26959658d5ca37b4d0a1acceb35dd951b79eba39 /rc
parent6a83facfb3f64f579847166af0321370e4062f9d (diff)
hpost: fix Content-Type parameter separator for multipart/form-data POSTs
Diffstat (limited to 'rc')
-rwxr-xr-xrc/bin/hpost2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc/bin/hpost b/rc/bin/hpost
index cab9c0be5..e47dab878 100755
--- a/rc/bin/hpost
+++ b/rc/bin/hpost
@@ -90,7 +90,7 @@ fn mpost {
}
fn multi {
f='HJBOUNDARY'
- menc $"f | $hget -r 'Content-Type: multipart/form-data, boundary='$"f -b $url -P $action
+ menc $"f | $hget -r 'Content-Type: multipart/form-data; boundary='$"f -b $url -P $action
}
if(! ~ $action ''){