Preventing url-encoding of POST body in http-kit.client

2014-11-14 Thread Saju Ravindran Pillai
Hi, I need to POST an XML body to an http endpoint, which replies back with a xml response. I do this .. (org.httpkit.client/post uri {:body (str “foobar/foo”)}) but the client is encoding the xml tags to gt; lt; I then tried : (org.httpkit.client/post uri {:body (str “foobar/foo”)

Re: Preventing url-encoding of POST body in http-kit.client

2014-11-14 Thread Sam Ritchie
How about just decoding on the other side? Saju Ravindran Pillai mailto:saju.pil...@concur.com November 14, 2014 at 5:46 AM Hi, I need to POST an XML body to an http endpoint, which replies back with a xml response. I do this .. (org.httpkit.client/post uri {:body (str “foobar/foo”)}) but

Re: Preventing url-encoding of POST body in http-kit.client

2014-11-14 Thread Francis Avila
What you are describing is not url-encoding but xml-entity-quoting. The problem is not with the http-kit client but somewhere else in your stack. On my system (http-kit 2.1.16) I get the expected result: In a terminal: $ nc -l localhost -p In a repl: @(org.httpkit.client/post