Re: HTTP clients in clojure

2009-05-13 Thread Phil Hagelberg
Perry Trolard writes: >> Let me know if you find it useful. I would love to get some comments. >> -Phil > > Hi Phil, > > I'm trying out clojure-http-client, & thus far I like the idea of it > quite a bit: a simple but clever wrapper on built-in JDK APIs, so > provides convenience w/o the burden

Re: HTTP clients in clojure

2009-05-11 Thread Perry Trolard
> Let me know if you find it useful. I would love to get some comments. > -Phil Hi Phil, I'm trying out clojure-http-client, & thus far I like the idea of it quite a bit: a simple but clever wrapper on built-in JDK APIs, so provides convenience w/o the burden of external jars. Quickly, I ran in

Re: HTTP clients in clojure

2009-05-08 Thread André Thieme
On 7 Mai, 02:34, Eric Tschetter wrote: > Last I checked the various clojure libraries, it seemed like noone has > publicized a set of wrappers/clojure-native implementation of an http > client.  I'm wonder if such a thing exists, or has everyone basically > just rolled their own wrapper on top of

Re: HTTP clients in clojure

2009-05-07 Thread Richard Newman
I wrote my own wrapper around the Apache Commons HTTP client, approximately mirroring AllegroServe's HTTP client. I often find myself wanting to react to the HTTP response code and response without the burden of exception handling… after all, a non-200 response is hardly "exceptional", if an excep

Re: HTTP clients in clojure

2009-05-07 Thread Stuart Sierra
On May 6, 8:34 pm, Eric Tschetter wrote: >  I'm wonder if such a thing exists, or has everyone basically > just rolled their own wrapper on top of their favorite Java HTTP > client library? I just use the Apache Commons HTTP client. -SS --~--~-~--~~~---~--~~ You r

Re: HTTP clients in clojure

2009-05-06 Thread Phil Hagelberg
Eric Tschetter writes: > Last I checked the various clojure libraries, it seemed like noone has > publicized a set of wrappers/clojure-native implementation of an http > client. I'm wonder if such a thing exists, or has everyone basically > just rolled their own wrapper on top of their favorite

Re: HTTP clients in clojure

2009-05-06 Thread Shawn Hoover
I was recently tipped off to this nascent project: http://github.com/technomancy/clojure-http-client/tree/master On Wed, May 6, 2009 at 8:34 PM, Eric Tschetter wrote: > > Last I checked the various clojure libraries, it seemed like noone has > publicized a set of wrappers/clojure-native implemen

Re: HTTP clients in clojure

2009-05-06 Thread Brian Doyle
I wrote clj-web-crawler which wraps the Apache commons client library and made it suck a little bit less. I haven't tested it out with the Clojure 1.0 release just yet, but I'll do that tonight. http://github.com/heyZeus/clj-web-crawler/tree/master On Wed, May 6, 2009 at 7:16 PM, Chris Dean wr

Re: HTTP clients in clojure

2009-05-06 Thread Chris Dean
Eric Tschetter writes: > Last I checked the various clojure libraries, it seemed like noone has > publicized a set of wrappers/clojure-native implementation of an http > client. There is (slurp* url) and (reader url) in clojure.contrib.duck-streams (count (slurp* "http://google.com";)) =

Re: HTTP clients in clojure

2009-05-06 Thread Raoul Duke
> client.  I'm wonder if such a thing exists, or has everyone basically > just rolled their own wrapper on top of their favorite Java HTTP > client library? i dunno. but, for possible cribbing, there's a Scala wrapper around HttpClient, which supposedly makes it all Suck Less. e.g. http://techn

HTTP clients in clojure

2009-05-06 Thread Eric Tschetter
Last I checked the various clojure libraries, it seemed like noone has publicized a set of wrappers/clojure-native implementation of an http client. I'm wonder if such a thing exists, or has everyone basically just rolled their own wrapper on top of their favorite Java HTTP client library? --Eri