[6573] in www-talk@info.cern.ch

home help back first fref pref prev next nref lref last post

simple example of how to retrieve raw HTML using libwww

daemon@ATHENA.MIT.EDU (Henry Minsky)
Sun Nov 6 05:56:24 1994

Date: Sun, 6 Nov 1994 11:28:14 +0100
Errors-To: listmaster@www0.cern.ch
Reply-To: hqm@datawave.net
From: Henry Minsky <hqm@datawave.net>
To: Multiple recipients of list <www-talk@www0.cern.ch>


Hello Good People,

Am I the only one who finds the documentation on the CERN libwww
library less than useful? I am having a great deal of trouble figuring
out how to do something which should be very simple.

I want to use libwww to compose a request for a URL, and have it fill
buffer which contains the raw contents of the document (or image or
whatever). I also want to be able to examine the information returned
in the response header, about content length, location, etc, which I
presume will be neatly stored in the HTRequest structure.

Can anyone point me at a simple piece of source code that does what I
want?  And please don't tell me to look at the CERN LineMode browser;
I have and it is really quite difficult for me to understand. There
must be a twenty line program that does what I want already?? 

Thanks,
	Henry

home help back first fref pref prev next nref lref last post