Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
gitweb: fix snapshot support
author
Aneesh Kumar K.V
<aneesh.kumar@gmail.com>
Fri, 18 Aug 2006 05:56:23 +0000
(22:56 -0700)
committer
Junio C Hamano
<junkio@cox.net>
Fri, 18 Aug 2006 05:58:05 +0000
(22:58 -0700)
[jc: when I applied the patch I misread RFC 2616 which mildly
recommended against using the name "gzip", which was there only
for a historical reason. This fixes the mistake up and uses
the content-encoding "x-gzip" again.]
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
59fb1c9
)
diff --git
a/gitweb/gitweb.perl
b/gitweb/gitweb.perl
index f7c0418c6b1315cff0b03d9de090c9610b1ed8a4..f8d1036744a38a1aa69b8bbe47dd33c90a3c414b 100755
(executable)
--- a/
gitweb/gitweb.perl
+++ b/
gitweb/gitweb.perl
@@
-2202,7
+2202,7
@@
sub git_snapshot {
my $filename = basename($project) . "-$hash.tar.gz";
print $cgi->header(-type => 'application/x-tar',
- -content-encoding => 'gzip',
+ -content-encoding => '
x-
gzip',
'-content-disposition' => "inline; filename=\"$filename\"",
-status => '200 OK');