Re: gitweb / cg-export
On Thu, 2006-08-17 at 00:40 +0200, Martin Waitz wrote:
Show 14 quoted lines
> hoi :)
>
> On Wed, Aug 16, 2006 at 04:23:05PM +0530, Aneesh Kumar K.V wrote:
> > @@ -1334,6 +1335,7 @@ sub git_shortlog_body {
> > "<td class=\"link\">" .
> > $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") .
> > "</td>\n" .
> > "</tr>\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