[REBOL] Re: Reading HTTP headers
From: tomc:darkwing:uoregon at: 12-Jan-2002 19:34
slightly suprized that
>> read/custom http://www.rebol.com ["HEAD"]
did not work ...
but you can always roll yer own
>> port: open [scheme: 'tcp host: "www.rebol.com" port-id: 80]
>> insert port "HEAD
http://www.rebol.orgHTTP/1.0^/^/"
>> wait port
>> print copy port
HTTP/1.1 200 OK
Date: Sun, 13 Jan 2002 03:28:08 GMT
Server: Apache/1.3.20 (Unix) FrontPage/4.0.4.3
Last-Modified: Wed, 09 Jan 2002 02:48:33 GMT
ETag: "595d6e-32c8-3c3baf81"
Accept-Ranges: bytes
Content-Length: 13000
Connection: close
Content-Type: text/html
>>
hmmm anyone know what an "Etag:" is?
On Fri, 11 Jan 2002, Harold wrote: