Forum Moderators: phranque
rebol []
p: open [webmasterworld.com...]
hl: 0
foreach h next first p/locals/headers [
if none <> p/locals/headers/:h [
hl: hl + length? header: rejoin [h ": " (p/locals/headers/:h)]
print header
]
]
print ["headers length....." hl]
close p
Date: Sun, 04 Jul 2004 15:23:01 GMT
Server: Apache/1.3.26 (Unix) FrontPage/5.0.2.2510
Content-Type: text/html
Connection: close
Cache-Control: max-age=0
Pragma: no-cache
X-Powered-By: BestBBS v3.15
headers length..... 200
You may need to download the scripting language from [rebol.com...]
If you are familiar with the PHP scripting language you can use the Apache Response Headers:
<?php print_r(apache_response_headers() [php.net]);?>