[10254] in www-talk@info.cern.ch
Re: How i can to receive RAW stream of HTML tags ?
daemon@ATHENA.MIT.EDU (Arnoud "Galactus" Engelfriet)
Sat Aug 24 16:02:54 1996
From: galactus@stack.urc.tue.nl (Arnoud "Galactus" Engelfriet)
To: www-talk@w3.org
Date: Sat, 24 Aug 1996 20:58:34 +0200
Resent-From: www-talk@w3.org
-----BEGIN PGP SIGNED MESSAGE-----
In article <199608241614.UAA00965@ns.extech.msk.su>,
"garry" <garry@extech.msk.su> wrote:
> What i needed for receiving a HTML-tags without any browsers ?
If you're referring to simply getting a document over http,
you can do that by simply connecting to port 80 (or whatever)
of the server, and then sending the string "GET /localurl/ HTTP/1.0".
The source will be sent to you over the same connection, after
some headers. Those will be separated by a line with just a
newline.
The server will close the connection after sending the entire
document.
In a shell script you can even do it with telnet, although separating
the headers and the body may be a little tricky.
Galactus
- --
To find out more about PGP, send mail with HELP PGP in the SUBJECT line to me.
E-mail: galactus@stack.urc.tue.nl - Please PGP encrypt your mail if you can.
Finger galactus@turtle.stack.urc.tue.nl for public key (key ID 0x416A1A35).
Anonymity and privacy site: <http://www.stack.urc.tue.nl/~galactus/remailers/>
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: cp850
iQCVAgUBMh9aTjyeOyxBaho1AQEjCQQAln4fyyCqN35+LBzF6W+TYQ4rUgimhSEm
eOdbXUL7rdWCWCemCVs1JbOrctegJFmIRCKRCAGGt/dwuXC4XzlggfQlqNoZvfDM
3QBUuA7tORuh5XBZ7UkzHGp8Mxu6A1/FtCCEDcf/gBHEBArOGTxnyVzIZ9vGPQbU
DdHqsWXVReU=
=ytvL
-----END PGP SIGNATURE-----