gitweb: Don't use Content-Encoding: header in git_snapshot
authorJakub Narebski <jnareb@gmail.com>
Mon, 11 Dec 2006 17:09:58 +0000 (18:09 +0100)
committerJunio C Hamano <junkio@cox.net>
Tue, 12 Dec 2006 08:55:20 +0000 (00:55 -0800)
commit9aa1757382002655cb72bad6a163ff430e08c962
tree2549aa16170093d07177f4af7db5d82b72982d81
parent6f9872582246b9b8ee4bdc9f6a563b409aab1ecb
gitweb: Don't use Content-Encoding: header in git_snapshot

Do not use Content-Encoding: HTTP header in git_snapshot, using
instead type according to the snapshot type (compression type).
Some of web browser take Content-Encoding: to be _transparent_
also for downloading, and store decompressed file (with incorrect
compression suffix) on download.

Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl