hget: fix -p to not put a newline into the postbody at the end
This commit is contained in:
parent
1d62e1d8c8
commit
cc459aa7ab
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ if(! ~ $s 0)
|
||||||
if(~ $#m 1)
|
if(~ $#m 1)
|
||||||
echo -n request $m >[1=0]
|
echo -n request $m >[1=0]
|
||||||
if(! ~ $#p 0)
|
if(! ~ $#p 0)
|
||||||
echo $"p >$d/postbody
|
echo -n $"p >$d/postbody
|
||||||
<$d/body {
|
<$d/body {
|
||||||
if(~ $#o 1){
|
if(~ $#o 1){
|
||||||
l=`{cat $d/contentlength >[2]/dev/null}
|
l=`{cat $d/contentlength >[2]/dev/null}
|
||||||
|
|
Loading…
Reference in a new issue