hpost: fix Content-Type parameter separator for multipart/form-data POSTs

This commit is contained in:
mischief 2014-01-13 17:57:45 -08:00
parent 6a83facfb3
commit 0598844894

View file

@ -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 ''){