From owner-freebsd-hackers Mon Jan 29 17:26:23 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from ducky.nz.freebsd.org (ns1.unixathome.org [203.79.82.27]) by hub.freebsd.org (Postfix) with ESMTP id A279F37B402; Mon, 29 Jan 2001 17:26:00 -0800 (PST) Received: from xeon (xeon.unixathome.org [192.168.0.18]) by ducky.nz.freebsd.org (8.9.3/8.9.3) with ESMTP id OAA53810; Tue, 30 Jan 2001 14:25:58 +1300 (NZDT) Date: Tue, 30 Jan 2001 14:26:01 +1300 (NZDT) From: Dan Langille X-X-Sender: To: Cc: Subject: gzip and cvsweb.cgi Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I've noticed that cvsweb.cgi sometimes gives me GZIP and sometimes not. I tracked down a fix for my needs, but would like some feedback please. The problem arose when FreshPorts old me it couldn't do anything with a Makefile it had just obtained (via fetch), so I went to look. What I found was a garbled Makefile. Actually, it was GZIP'd, not ASCII. $ fetch -o Makefile http://www.FreeBSD.org/cgi/cvsweb.cgi/ports/www/mnoGoSearch-current/Makefile?rev=1.3 Receiving Makefile: 0 Kbytes 897 bytes transferred in 0.0 seconds (603.71 Kbytes/s) $ file Makefile Makefile: gzip compressed data, deflated, last modified: Tue Jan 30 14:00:38 2001, max speed, os: Unix So then I started experimenting, and check the web interface. Then I used this: $ fetch -o Makefile http://www.FreeBSD.org/cgi/cvsweb.cgi/~checkout~/ports/www/mnoGoSearch-current/Makefile?rev=1.3 Receiving Makefile: 1 Kbytes 1799 bytes transferred in 0.0 seconds (1241.55 Kbytes/s) $ file Makefile Makefile: ASCII text Which is what one would expect. Why does one give the expected results and the other doesn't? I expected both to give the same. thanks To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message