<div>Hi all:<br></div><div>I am a rookie to racket who used to write some ruby scripts.</div><div>Now I meet some problem about how to download a URL and print it or deal the result as a String.</div><div>I write like this:</div><div><br></div><div>#lang racket<br>(require net/url)<br>(define (get url)<br>  (get-impure-port (string-&gt;url url)))</div><div><br></div><div>Then run:</div><div>&gt; (read (get "http://www.google.com"))<br>'HTTP/1.0<br>&gt; </div><div><br></div><div>Only output part of the total response.</div><div><br></div><div>I am confused about this.</div><div>How can I read and print all the response page?</div><div>Can anyone explain this ?</div><div><br></div><div>Thanks very much!</div><div><br></div><div>By the way, as a stater on this language ,I found the racket docs very useful.</div><div>But sometime can't understand the reference and don't know how people use these functions.</div><div>Are there any source code using racket to read?</div><div><br></div><div>Thanks,again.</div><div><br></div><div>MQ</div>