<div dir="ltr"><br><br><div class="gmail_quote">On Fri, May 13, 2011 at 9:19 AM, Michael Xavier <span dir="ltr"><<a href="mailto:nemesisdesign@gmail.com">nemesisdesign@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im"><div><br></div><br>Basic auth is something I'm going to need in http-enumerator pretty<br></div><div class="gmail_quote"><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
soon so I'll probably have a stab at it over the next week or two.<br>
If you're interested in that and you haven't heard back from me<br>
in say two weeks, feel free to ping me.<br>
<div><div></div><div><br></div></div></blockquote><div><br></div></div><div>I have an active issue with the author of the project on github discussing this very thing:</div><div><br></div><div>
<a href="https://github.com/snoyberg/http-enumerator/issues/14#comment_1086615" target="_blank">https://github.com/snoyberg/http-enumerator/issues/14#comment_1086615</a></div><div><br></div><div>I'm not really up to implementing auth quite yet but it may help you in your endeavors. Definitely keep me posted if you decide to tackle this issue. I'd definitely like to swap out the backend on my library for http-enumerator which i now greatly prefer to Network.Curl</div>
<div><br></div><div>Thanks so much for the code sample Satoshi. It is a bit daunting to me as a Haskell novice but I was able to massage it into what I needed. It's unfortunate at how much more convoluted the Curl api is when you want to POST instead of GET but I suspect as others have suggested that this may have a lot to do with the underlying C API.</div>
<div><br></div></div></blockquote><div><br></div><div>Actually, Erik already submitted a patch adding basic auth support, and I've released it on Hackage.</div><div><br></div><div>Michael</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="gmail_quote"><div></div></div><div><div></div><div class="h5">-- <br>Michael Xavier<br><a href="http://www.michaelxavier.net" target="_blank">http://www.michaelxavier.net</a><br>
</div></div><br>_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@haskell.org">Beginners@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/beginners" target="_blank">http://www.haskell.org/mailman/listinfo/beginners</a><br>
<br></blockquote></div><br></div>