Http
De MySoLo Wiki.
Version du 21 mars 2009 à 00:13 par MySoLo (discuter | contributions)
HTTP signifie "HyperText Transfer Protocol". C'est le protocole utilisé notamment par les navigateurs web pour récupérer les pages des serveurs web. Le protocole HTTP/1.1 est défini dans la RFC2068.
GET HTTP/1.1
mysolo@portoo ~ $ telnet www.mysolo.org 80 Trying 87.98.150.220... Connected to www.mysolo.org. Escape character is '^]'. GET / HTTP/1.1 Host: www.mysolo.org HTTP/1.1 301 Moved Permanently Date: Sat, 21 Mar 2009 00:09:11 GMT Server: Apache Location: http://mysolo.org/w/index.php Content-Length: 301 Content-Type: text/html; charset=iso-8859-1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>301 Moved Permanently</title> </head><body> <h1>Moved Permanently</h1> <p>The document has moved <a href="http://mysolo.org/w/index.php">here</a>.</p> <hr> <address>Apache Server at www.mysolo.org Port 80</address> </body></html> Connection closed by foreign host. </prei>
