It would be nice to be able to POST files in a multipart message something like:
<http method="POST" url="someurl.php">
<query>
<parameter name="project" value="Project Name Here"/>
<parameter name="version" value="1.2.3"/>
<file name="uploadedFile" path="localfile.txt"/>
<!-- Note: the 'name' attribute should be changeable so it can
be configured to the specific forms field. -->
</query>
</http>
After I fixed ant-contrib I could do:
<postMethod multipart="true" url="http://blah/upload.php">
<text name="project" value="Project Name Here"/>
<text name="version" value="1.2.3"/>
<file name="uploaded" path="/home/blah/test.txt" contentType="text/xml;charset=utf-8"/>
</postMethod>
But I would like to use your light weight utility... especially since
ant-contrib is dead and wouldn't respond with me wanting to patch up that
functionality!
Cheers,
Randy
Original issue reported on code.google.com by randy.re...@gmail.com on 17 Jan 2012 at 5:22
Original issue reported on code.google.com by
randy.re...@gmail.com
on 17 Jan 2012 at 5:22