hget: -p should work the same as in old hget
This commit is contained in:
parent
9c71514b71
commit
692d66feff
1 changed files with 2 additions and 2 deletions
|
@ -51,8 +51,8 @@ if(! ~ $s 0)
|
|||
echo -n headers $i >[1=0]
|
||||
if(~ $#m 1)
|
||||
echo -n request $m >[1=0]
|
||||
if(~ $#p 1)
|
||||
cat <$p >$d/postbody
|
||||
if(! ~ $#p 0)
|
||||
echo $"p >$d/postbody
|
||||
<$d/body {
|
||||
if(~ $#o 1){
|
||||
l=`{cat $d/contentlength >[2]/dev/null}
|
||||
|
|
Loading…
Reference in a new issue