Mail Archives: opendos/1997/03/31/08:49:58
> Really? I didn't know that! So, is this a transparent
> server-compression-browser-decompression transaction, or could I
> have a file called: index.html.gz as my web page, and then view
> it as if it were index.html? If this is the case, then THIS IS
> REALLY COOL!
Normally, the server will use the file extensions to supply the
correct encodings. If the file is index.html.gz, the server supplies
both content-type and content-transfer-encoding to the client.
If the file is not stored compressed, most servers will serve it
uncompressed also.
Note that not all browsers are able to uncompress a compressed
encoding, even though it's standard. The ones that do usually invoke
a separate program (like gunzip) to uncompress them.
- Raw text -