X-Git-Url: https://git.ladys.computer/Gitweb/blobdiff_plain/d5ca249cbe6db5b1ebe794cb3007f2989e36bd62bfad51bf7c2a6482a48ca159..d73e7f57c959e8c058edc2671fae5ff07ddb11457554afe6bf82b7409d35712a:/gitweb.perl?ds=sidebyside diff --git a/gitweb.perl b/gitweb.perl index 8cfa7b8..ce2c48f 100755 --- a/gitweb.perl +++ b/gitweb.perl @@ -4214,8 +4214,7 @@ sub git_header_html { my %opts = @_; my $title = get_page_title(); - my $content_type = get_content_type_html(); - print $cgi->header(-type=>$content_type, -charset => 'utf-8', + print $cgi->header(-type=>get_content_type_html(), -charset => 'utf-8', -status=> $status, -expires => $expires) unless ($opts{'-no_http_header'}); my $mod_perl_version = $ENV{'MOD_PERL'} ? " $ENV{'MOD_PERL'}" : ''; @@ -4226,7 +4225,6 @@ sub git_header_html {
-