Haciendo pruebas: Lo que devuelve al entrar a http://localhost:9000 GET / HTTP/1.1 Host: localhost:9000 User-Agent: Mozilla/5.0 (X11; U; Linux i686; es-ES; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3 Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,/;q=0.5 Accept-Language: es-es,es;q=0.8,en-us;q=0.5,en;q=0.3 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Cookie: dbx-postmeta=grabit:0+1-2-3-4-5-&advancedstuff:0-1-2- Cache-Control: max-age=0 Y en la consola: fburria@Mephisto:~/trash$ sh webserver.sh [2007-04-17 15:15:25] GET / HTTP/1.1 [2007-04-17 15:15:29] GET / HTTP/1.1 [2007-04-17 15:15:30] GET / HTTP/1.1 [2007-04-17 15:15:31] GET / HTTP/1.1
Relacionada MoleSter, un P2P en 6 líneas de Perl
Comentarios
Haciendo pruebas:
Lo que devuelve al entrar a http://localhost:9000
GET / HTTP/1.1
Host: localhost:9000
User-Agent: Mozilla/5.0 (X11; U; Linux i686; es-ES; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,/;q=0.5
Accept-Language: es-es,es;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Cookie: dbx-postmeta=grabit:0+1-2-3-4-5-&advancedstuff:0-1-2-
Cache-Control: max-age=0
Y en la consola:
fburria@Mephisto:~/trash$ sh webserver.sh
[2007-04-17 15:15:25] GET / HTTP/1.1
[2007-04-17 15:15:29] GET / HTTP/1.1
[2007-04-17 15:15:30] GET / HTTP/1.1
[2007-04-17 15:15:31] GET / HTTP/1.1
Relacionada MoleSter, un P2P en 6 líneas de Perl
MoleSter, un P2P en 6 líneas de Perl
anieto2k.com