Re: Squid and Communicator 4.5 misbehaviour

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Mon, 30 Nov 1998 23:22:56 +0100

Andreas Jung wrote:
>
> I am using Communicator 4.5 very often to download .tar.gz files from
> any FTP server. When I bypass Squid the file is written correctly
> on my disk. However when I use Squid the is written uncompressed
> on the disk and under Windows the file is written with linefeeds at the
> end. In such a case I must convert the .tar file to ISO-Latin-1 format.
> Only with this trick I am able to untar the file.

Netscape on Windows seems to have some very bad habits with compressed
files. As a workaround (if your are using Squid 2) edit
squid/etc/mime.conf, and add +download on the line defining .gz
extension. Then click in the binary download icon for any .gz encoded
file.

What Squid 2 does when it sees a .tar.gz file is

MIME content encoding: gzip
MIME content type: application/x-tar
FTP transfer mode: I (Image, or binary transfer mode).

I don't remember exactly what Squid 1.x does, but it should be something
similar to this...

---
Henrik Nordstrom
Spare time Squid hacker
Received on Mon Nov 30 1998 - 15:30:33 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:43:25 MST