Skip to content

Commit

Permalink
Adding test content.
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Pullara <spullara@yahoo.com>
  • Loading branch information
esjewett authored and spullara committed Aug 3, 2009
1 parent ee701b8 commit 22fbba5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tarpipe/tarpipe.transaction.xml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@
response.object = local_request.post(content).response;
} else {
var content = "\r\n--AaB03x\r\nContent-Disposition: form-data; name=\"title\"\r\n\r\n"+"title test";
content += "\r\n--AaB03x\r\nContent-Disposition: form-data; name=\"body\"\r\n\r\n"+"body test"+"\r\n--AaB03x--\r\n";
message.action = request.path("start").path(workflow_id).url;
OAuth.SignatureMethod.sign(message, local_accessor);
Expand All @@ -102,7 +105,7 @@
}
}
response.object = local_request.contentType("multipart/form-data; boundary=AaB03x").header("Content-Length",0).post().response;
response.object = local_request.contentType("multipart/form-data; boundary=AaB03x").header("Content-Length",content.length).post(content).response;
}
]]></execute>
</insert>
Expand Down

0 comments on commit 22fbba5

Please sign in to comment.