Unix & Shell-Programmierung: Request Header |
...> telnet localhost 80
...
GET /cgi-bin/test.cgi HTTP/1.0
Referer: http://localhost/meine/letzte/seite.html
User-Agent: mein expect script
Date: heute
From: me@home
HTTP/1.1 200 OK Date: Thu, 23 Nov 2000 10:15:19 GMT Server: Apache/1.3.12 ... Connection: close Content-Type: text/plain ...
...
env(HOSTTYPE) = i386 env(HTTP_DATE) = heute env(HTTP_FROM) = me@home env(HTTP_REFERER) = http://localhost/meine/letzte/seite.html env(HTTP_USER_AGENT) = mein expect script env(MACHTYPE) = i386-suse-linux ...
...
...
Connection closed by foreign host.
...>
get2.exp: das expect-Skript für dieses Beispiel |
Letzte Änderung: 14.02.2012 | © Prof. Dr. Uwe Schmidt |