commit | ba6cb1658e53711107b2d933e61ef5eb56a0e12c | [log] [tgz] |
---|---|---|
author | Dan Smith <danms@us.ibm.com> | Tue Aug 14 07:22:42 2012 -0700 |
committer | Dan Smith <danms@us.ibm.com> | Thu Aug 23 09:01:35 2012 -0700 |
tree | b774a3aa01b42909804f003c5b8443e05f2966d2 | |
parent | b88c6fc170dd67d8b3a00a445c4dc96ba6a3faf3 [diff] |
Add a RestClient variant that sends and expects XML For now, this leaves the base class as defaulting to JSON and just adds RestClientXML as a variant that does XMLish things. This adds a headers argument to get and delete so that we can declare to the API that we speak XML. Also, add some common XML utilities. Change-Id: I883de8e21ae18eed929705cff49b6dfb112d20c2