projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3951302
)
tests/soup.js
author
Alan Knowles
<alan@akbkhome.com>
Wed, 23 May 2012 15:51:16 +0000
(23:51 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Wed, 23 May 2012 15:51:16 +0000
(23:51 +0800)
tests/soup.js
patch
|
blob
|
history
diff --git
a/tests/soup.js
b/tests/soup.js
index
653cbeb
..
9999255
100644
(file)
--- a/
tests/soup.js
+++ b/
tests/soup.js
@@
-34,8
+34,8
@@
var msg = new Soup.Message({method:"POST", uri:uri});
//var msg = new Soup.Message({method:"GET", uri:uri});
// post..
-
-var buf = new Soup.Buffer.c_new(
"remarks=test"
);
+buftxt = "remarks=test"
+var buf = new Soup.Buffer.c_new(
buftxt, buftxt.length
);
msg.request_body.append_buffer(buf);