[racket] HTTP request problem

From: Mikko Tiihonen (mikko.tiihonen at tmtiihonen.fi)
Date: Sat Oct 6 02:23:21 EDT 2012

Thank you, Danny, with net/url and net/head utilities the client works like a charm!

Have a nice weekend!

Cheers,
-MIkko


On 5.10.2012, at 18:44, Danny Yoo wrote:

> On Fri, Oct 5, 2012 at 9:06 AM, Mikko Tiihonen
> <mikko.tiihonen at tmtiihonen.fi> wrote:
>> Thanks, Danny - I will look closer into that!
> 
> No problem!  Here's a small example of grabbing content from a certain web site:
> 
> 
> #lang racket
> 
> (require net/url)
> (define web-page-content
>  (port->string
>   (get-pure-port (string->url "http://racket-lang.org/"))))



Posted on the users mailing list.