From: Kay Sievers Date: Wed, 16 Aug 2006 22:50:08 GMT Subject: Re: gitweb / cg-export Message-ID: <1155768608.3386.1.camel@pim.off.vrfy.org> In-Reply-To: <20060816224000.GE14459@admingilde.org> On Thu, 2006-08-17 at 00:40 +0200, Martin Waitz wrote: > hoi :) > > On Wed, Aug 16, 2006 at 04:23:05PM +0530, Aneesh Kumar K.V wrote: > > @@ -1334,6 +1335,7 @@ sub git_shortlog_body { > > "" . > > $cgi->a({-href => href(action=>"commit", hash=>$commit)}, "commit") . " | " . > > $cgi->a({-href => href(action=>"commitdiff", hash=>$commit)}, "commitdiff") . > > + " | " .$cgi->a({-href => "$my_uri/$project.tar.gz?" . esc_param("p=$project;a=snapshot;h=$commit")}, "snapshot") . > > "\n" . > > "\n"; > > } > > Isn't there some other way to tell the webbroser how to name the file? > I thought there is some HTML header to explicitly give one file name. Something like in line 1923? $cgi->header(-type => "$type", '-content-disposition' => "inline; filename=\"$save_as\""); Kay