GET /FB/index.html HTTP/1.1 Host: lmi32.cnam.fr HTTP/1.1 200 OK
Transcription
GET /FB/index.html HTTP/1.1 Host: lmi32.cnam.fr HTTP/1.1 200 OK
GET /FB/index.html HTTP/1.1 Host: lmi32.cnam.fr HTTP/1.1 200 OK Date: Thu, 20 Oct 2005 14:42:54 GMT Server: Apache/2.0.50 (Linux/SUSE) Last-Modified: Thu, 20 Oct 2005 14:41:56 GMT ETag: "2d7b4-14b-8efd9500" Accept-Ranges: bytes Content-Length: 331 Content-Type: text/html; charset=ISO-8859-1 <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr"> <head> <title>Page 1</title> </head> <body> <h1> La page </h1> <p> Ceci et cela. </p> </body> </html> 1 GET /index.html HTTP/1.1 Host: deptinfo.cnam.fr HTTP/1.1 404 Not Found Date: Thu, 20 Oct 2005 15:38:09 GMT Server: Apache/1.3.26 (Linux/SuSE) PHP/4.2.2 Transfer-Encoding: chunked Content-Type: text/html; charset=iso-8859-1 115 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <HTML><HEAD> <TITLE>404 Not Found</TITLE> </HEAD><BODY> <H1>Not Found</H1> The requested URL /index.html was not found on this server.<P <HR> <ADDRESS>Apache/1.3.26 Server at deptinfo.cnam.fr Port 80</AD </BODY></HTML> 0 2 GET / HTTP/1.1 Host: deptinfo.cnam.fr HTTP/1.1 301 Moved Permanently Date: Thu, 20 Oct 2005 15:39:45 GMT Server: Apache/2.0.53 (Linux/SUSE) Location: http://deptinfo.cnam.fr/new/ Content-Length: 324 Content-Type: text/html; charset=iso-8859-1 X-Cache: MISS from deptinfo.cnam.fr <!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://deptinfo2.cnam.fr/n <hr> <address>Apache/2.0.53 (Linux/SUSE) Server at deptinfo2.cnam. </body></html> 3 GET /FB/test.php HTTP/1.1 Host: lmi32 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12 Accept: text/xml,application/xml,application/xhtml+xml,text/h Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Cache-Control: max-age=0 4 GET /truc.html HTTP/1.1 Connection: Keep-Alive User-Agent: Mozilla/5.0 (compatible; Konqueror/3.1; Linux) Accept: text/html, image/jpeg, image/png, text/*, image/*, */ Accept-Encoding: x-gzip, x-deflate, gzip, deflate, identity Accept-Charset: iso-8859-15, utf-8;q=0.5, *;q=0.5 Accept-Language: fr, FR, en Host: localhost:8080 5 GET /truc.html HTTP/1.1 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Linux 2.4.21-1 Host: localhost:8080 Accept: text/html, image/png, image/jpeg, image/gif, image/xAccept-Charset: iso-8859-1, utf-8, utf-16, *;q=0.1 Accept-Encoding: deflate, gzip, x-gzip, identity, *;q=0 Connection: Keep-Alive, TE TE: deflate, gzip, chunked, identity, trailers HEAD /FB/index.html HTTP/1.1 Host: lmi32.cnam.fr HTTP/1.1 200 OK Date: Thu, 20 Oct 2005 15:09:53 GMT Server: Apache/2.0.50 (Linux/SUSE) Last-Modified: Thu, 20 Oct 2005 14:41:56 GMT ETag: "2d7b4-14b-8efd9500" Accept-Ranges: bytes Content-Length: 331 Content-Type: text/html; charset=ISO-8859-1 6 GET /FB/star.png HTTP/1.1 Host: lmi32.cnam.fr HTTP/1.1 200 OK Date: Thu, 20 Oct 2005 15:13:28 GMT Server: Apache/2.0.50 (Linux/SUSE) Last-Modified: Thu, 20 Oct 2005 15:12:59 GMT ETag: "2d7b9-c3-fe08b4c0" Accept-Ranges: bytes Content-Length: 195 Content-Type: image/png PNG dsfKLMMLSkgqdFCDIUGTY6668UYGJH; FDÈ_È_IUHKNJS<C-ÈUTTÈUY yiuyiuokjBFVHBJ,W CS<YUTLYUTYUTTYT566788 97hjbhjb7878YUHJIUYUI 7 OPTIONS /FB/index.html HTTP/1.1 Host: lmi32.cnam.fr HTTP/1.1 200 OK Date: Thu, 20 Oct 2005 16:02:42 GMT Server: Apache/2.0.50 (Linux/SUSE) Allow: GET,HEAD,POST,OPTIONS,TRACE Content-Length: 0 Content-Type: text/html; charset=ISO-8859-1 8 • Accept : liste de types MIME • Accept-Charset: Jeu de caractères attendu par le browser Accept-Encoding: Codage de données accepté par le browser • Accept-Language • Authorization • Content-Encoding • Content-Language • Content-Length • Content-Type • Date • Forwarded • From • Referer • User-Agent • Connection (close, keep-alive) • Cache-Control • Expires • etc 9 100 101 200 201 202 203 204 205 206 300 301 302 303 304 305 307 Continue Switching Protocols OK Created Accepted Non-Authoritative No Content Reset Content Partial Content Multiple Choices Moved Permanently Moved Temporarily See Other Not Modified Use Proxy Temporary Redirect 10 400 Bad Request 401 Unauthorized 402 Payment Required 403 Forbidden 404 Not Found 405 Method Not Allowed 406 Not Acceptable 407 Proxy Authentication Required 408 Request Timeout 409 Conflict 410 Gone 411 Length Required 412 Precondition Failed 413 Request Entity Too Large 414 Request-URI Too Long 415 Unsupported Media Type 416 Requested Range Not Satisfiable 417 Expectation Failed 500 Internal Server Error 501 Not Implemented 502 Bad Gateway 503 Service Unavailable 504 Gateway Timeout 505 HTTP Version Not Supported • Content-Encoding Type de codage du corps de la réponse • Content-Language Type de langage du corps de la réponse • Content-Length Longueur du corps de la réponse • Content-Type Type de contenu du corps de la réponse (par exemple text/html). Voir types MIME • Date Date de début de transfert des données • Expires Date limite de consommation des données 11 • Forwarded Utilisé par les machines intermédiaires entre le browser et le serveur • Location Redirection vers une nouvelle URL associée au document • Server Caractéristiques du serveur ayant envoyé la réponse 12 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from samoa.cnam.fr ([127.0.0.1]) by localhost (samoa [127.0.0.1]) (amavisd-new, port 10024) w id 21904-07 for <[email protected]>; Fri, 21 Oct 2005 16:04:41 +0 Message-ID: <[email protected]> Date: Fri, 21 Oct 2005 15:09:18 +0200 From: Toto <[email protected]> User-Agent: Mozilla Thunderbird 0.8 (X11/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: un exemple Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at cnam.fr Ceci est un exemple ascii 7bits. Une deuxieme ligne. 13 From: Toto <[email protected]> X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: une image Content-Type: multipart/mixed; boundary="------------090806030302020407040309" This is a multi-part message in MIME format. --------------090806030302020407040309 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit --------------090806030302020407040309 Content-Type: image/png; name="button1.png" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="button1.png" iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAMAAAAM7l6QAAADAFBMVEX/////6 ... CiDAADgiMLfktzjHAAAAAElFTkSuQmCC --------------090806030302020407040309-- 14 X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Exemple a plusieurs morceaux Content-Type: multipart/mixed; boundary="------------090401080801090109060308" This is a multi-part message in MIME format. --------------090401080801090109060308 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Voici le texte que j’ecris dans la fenetre principale. Une deuxieme ligne. --------------090401080801090109060308 Content-Type: image/png; name="button1.png" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="button1.png" iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAMAAAAM7l6QAAADAFBMVEX/////6 ... CiDAADgiMLfktzjHAAAAAElFTkSuQmCC --------------090401080801090109060308 Content-Type: text/html; name="index.html" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="index.html" <?xml version="1.0" encoding="iso-8859-1"?> 15 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr"> <head> <title>Page 1</title> </head> <body> <h1> La page </h1> <p> Ceci et cela. </p> </body> </html> --------------090401080801090109060308-- 16 HTTP/1.1 200 Ok Content-Type: text/plain Transfer-Encoding: chunked 5; blah blah ZYXWV 10 0123456789ABCDEF 0 footer: value 17 HTTP/1.1 200 Ok Content-Type: text/plain Content-Length: 21 footer: value ZYXWV0123456789ABCDEF 18