www.digitalmars.com         C & C++   DMDScript  

D - urllib oddity

Hi, I'm having trouble with Burtons urllib. This code:

char[] html = (char[])urllib.urlread(url);

doesn't work as expected. Sometimes it does and sometimes it just downloads
a snippet of the requested page. www.digitalmars.com works. www.python.org
doesn't. Why is that? And how do I fix it?

Nov 09 2003