buffa@leffe:~> telnet www.essi.fr 80 Trying 157.169.25.100 ... Connected to jessica.essi.fr. Escape character is '^]'. GET / HTTP/1.0 HTTP/1.0 200 OK Date: Mon, 13 Jan 1997 10:25:13 +0000 Server: Roxen·Enterprise/1.0·prerelease Content-type: text/html Last-Modified: Mon, 23 Sep 1996 14:40:12 +0000 Content-length: 2144 <HTML<> ....Document demandé
Server: Netscape-Communications/1.1
HTTP/1.0 200 OK
telnet www.essi.fr 80 Trying 157.169.25.100 ... Connected to jessica.essi.fr. Escape character is '^]'. GET / HTTP/1.0 If-Modified-Since: Wednesday, 17-Jan-96 13:11:34 GMT HTTP/1.0 304 Use local copy Server: Netscape-Communications/1.1 Date: Wednesday, 17-Jan-96 13:12:21 GMT Connection closed by foreign host.
buffa@leffe:~> telnet www.essi.fr 80 Trying 157.169.25.100 ... Connected to jessica.essi.fr. Escape character is '^]'. GET toto HTTP/1.0 HTTP/1.0 404 Not found Server: Netscape-Communications/1.1 Date: Wednesday, 17-Jan-96 13:13:32 GMT Content-length: 207 Content-type: text/html
The requested object does not exist on this server. The link you followed is either outdated, inaccurate, or the server has been instructed not to let you have it. Connection closed by foreign host.
telnet www.essi.fr 80 Trying 157.169.25.100 ... Connected to jessica.essi.fr. Escape character is '^]'. GET /images/logoEssi.gif HTTP/1.0 Accept: image/jpg HTTP/1.0 200 OK Server: Netscape-Communications/1.1 Date: Wednesday, 17-Jan-96 13:21:10 GMT Last-modified: Friday, 13-Jan-95 11:33:41 GMT Content-length: 10147 Content-type: image/gif GIF89aðn÷¿¿° 0@X4¤Ä|80@8P0(d @l..... binaire de l'image
Et à l'INRIA :
buffa@leffe:~> telnet www.inria.fr 80 Trying 138.96.32.21 ... Connected to zenon.inria.fr. Escape character is '^]'. GET /Icones/nouveau.gif HTTP/1.0 Accept: image/jpg HTTP/1.0 200 Document follows MIME-Version: 1.0 Server: CERN/3.0 Date: Wednesday, 17-Jan-96 13:20:06 GMT Content-Type: image/gif Content-Length: 1298 Last-Modified: Thursday, 06-Jul-95 11:39:28 GMT X-httpd-warning: Your broser didn't send the Accept header line for this GIF87a(÷ÿÿ..... binaire de l'image
buffa@leffe:~> telnet www.essi.fr 80 Trying 157.169.25.100 ... Connected to jessica.essi.fr. Escape character is '^]'. GET /~buffa/tmp/configColas.gz HTTP/1.0 HTTP/1.0 200 OK Server: Netscape-Communications/1.1 Date: Wednesday, 17-Jan-96 13:31:27 GMT Last-modified: Thursday, 11-Jan-96 18:38:30 GMT Content-length: 3219 Content-type: text/plain Content-encoding: x-gzip &Yõ0configCo... binaire du fichier gzippé
video/mpeg; mpeg_play %s
.
application/toto toto
et dans $HOME/.mailcap :
application/toto; xless %s
Attention : ca ne marchera pas si on accède à un fichier à travers le protocole HTTP, car c'est le serveur qui est unique responsable du typage des données (au travers de son propre fichier mime.conf). En revanche si vous accèdez à un fichier par file: ou ftp:, ca va fonctionner. Pour reconnaître le type .toto, il faudrait rajouter ce type dans le mime.conf du serveur.
function FindProxyForURL(url, host) { if (dnsDomainIs(host, ".epita.fr")) return "PROXY wwwcache.doc.ic.ac.uk:3128; DIRECT"; else return "DIRECT"; }
application/x-ns-proxy-autoconfig nsc