simple example of how to retrieve raw HTML using libwww
try this mailing lit, you'll get better results.
Don't tell them you're doing a FAX WWW server!
>Date: Sun, 6 Nov 1994 11:24:51 +0100
>From: Henry Minsky <email@example.com>
>To: Multiple recipients of list <firstname.lastname@example.org>
>Subject: simple example of how to retrieve raw HTML using libwww
>X-Listprocessor-Version: 6.0c -- ListProcessor by Anastasios Kotsikonas
>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??
John C. Mallery
Artificial Intelligence Laboratory
Massachusetts Institute of technology
545 Technology Square, NE43-797
Camridge, MA 02139 USA