<div>Hi, Erik,</div><div><br></div>Did you try Network.HTTP? Is it not enough?<br><br><div class="gmail_quote">2009/8/12 Erik de Castro Lopo <span dir="ltr">&lt;<a href="mailto:mle%2Bhs@mega-nerd.com">mle+hs@mega-nerd.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi all,<br>
<br>
I need to do a HTTP post of XML data (Content-type == &quot;text/xml&quot;) to<br>
a HTTP (eventually HTTPS) server and to retrieve both the response<br>
code and some returned XML data.<br>
<br>
I have had an extensive read of the haskell-curl docs:<br>
<br>
    <a href="http://hackage.haskell.org/packages/archive/curl/1.3.5/doc/html/Network-Curl.html" target="_blank">http://hackage.haskell.org/packages/archive/curl/1.3.5/doc/html/Network-Curl.html</a><br>
<br>
as well as playing around with some code, but haskell-curl doesn&#39;t<br>
seem to support this. I&#39;ve tried curlPost which along with not<br>
returning a response also insists on encoding my XML data as<br>
application/x-www-form-urlencoded which simply doesn&#39;t work.<br>
<br>
Anyone ben able to get something like this to work? Are there any<br>
alternatives to haskell-curl which will work for my application?<br>
<br>
Cheers,<br>
Erik<br>
<font color="#888888">--<br>
----------------------------------------------------------------------<br>
Erik de Castro Lopo<br>
<a href="http://www.mega-nerd.com/" target="_blank">http://www.mega-nerd.com/</a><br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
</font></blockquote></div><br>