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
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/39045179-property-expansion-for-entity-text-and-new-setcontentlengthheader-attribute?utm_campaign=plugin&utm_content=tracker%2F15952011&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F15952011&utm_medium=issues&utm_source=github).
Original issue reported on code.google.com by
Des.Low...@gmail.com
on 8 Mar 2012 at 9:56Attachments: