On Mar 21, 2012, at 11:00 AM, Ray Racine wrote:

> I have an HTTPClient library that works for GET, PUT, POST for most use cases 
> where one would use an embedding of a wrapped curl.  
> 
> It understands chunked encoding and "pipes" the de-chunked HTTP stream to a 
> port automatically  So for example, you can do a GET of a large file and 
> stream it to disc without reading the entire file into a byte buffer.  It 
> also works with HTTPS as well.
> 
> Bad news it is still in unpolished at the API level, with limited scribblings 
> for doc.  But I use it quite heavily for AWS REST API integration, web 
> scrapping runs of several hours in duration and it is stable and reasonably 
> fast.  
> 
> https://github.com/RayRacine/racketlib/tree/master/httpclient

Wait… don't Racket's built-in libraries already handle all of those cases?

This is not a rhetorical question: I'm perfectly happy to be wrong, here, but 
it looks like I can use get-pure-port or post-pure-port to handle these. I 
guess I assumed that the original poster wanted something that Racket didn't 
already include, but I could be wrong: 

Yvan, what's your use case look like? Are there things you want to do that, for 
instance, get-impure-port doesn't already do?

John

Attachment: smime.p7s
Description: S/MIME cryptographic signature

____________________
  Racket Users list:
  http://lists.racket-lang.org/users

Reply via email to