Date: 23 Sep 1997 From: Jim Kingdon *** cvsweb 1997/09/04 14:21:35 1.7 --- cvsweb 1997/09/23 15:22:36 1.8 *************** *** 209,218 **** } $| = 1; print "Content-type: text/plain\n"; ! print "Content-encoding: x-gzip\n\n"; ! open(GZIP, "|gzip -1 -c"); # need lightweight compression ! print GZIP ; ! close(GZIP); close(RCS); exit; } --- 209,224 ---- } $| = 1; print "Content-type: text/plain\n"; ! # Content-encoding: x-gzip is not supported by all browsers ! # and I don't think there is any way to negotiate it or ! # anything like that. Interoperability seems to outweigh ! # minimal size here (IMHO, of course). ! #print "Content-encoding: x-gzip\n\n"; ! #open(GZIP, "|gzip -1 -c"); # need lightweight compression ! #print GZIP ; ! #close(GZIP); ! print "\n"; ! print ; close(RCS); exit; }