rbauction / missing-link

Automatically exported from code.google.com/p/missing-link
0 stars 0 forks source link

property expansion for entity text, and new setcontentlengthheader attribute. #33

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Here is a small patch that accomplishes two things I needed to make a simple 
REST request fly...

1. When setting the entity via text, ant does not do property expansion... what 
a pain. 
2. I added a some code to add a content length header if there is content and 
the settcontentlengthheader attribute is set (I would have camel-cased it, but 
I wanted to match your other attributes.)

Thanks for a nice, simple http client for ant!

( Patch file applies to http://missing-link.googlecode.com/svn/ant-http/trunk 
rev 91 )

Original issue reported on code.google.com by Des.Low...@gmail.com on 8 Mar 2012 at 9:56

Attachments:

GoogleCodeExporter commented 9 years ago
can you please post the .jar containing the patch

Original comment by prashant...@gmail.com on 11 May 2013 at 1:08