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 "http://lo

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 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 “bar”)}) but the cl

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 “bar”)}) but the client is encoding the xml tags to > & < I then tried : (org.httpkit.client/post uri {:body (str “bar”)