gitweb: suggest name for OPML view
[gitweb.git] / gitweb / gitweb.perl
index b16400193dca05ee15f339c63ed1873ca1bc9337..995bc1a6a9bb7ef955caba319670c290e369d200 100755 (executable)
@@ -6122,7 +6122,11 @@ sub git_atom {
 sub git_opml {
        my @list = git_get_projects_list();
 
-       print $cgi->header(-type => 'text/xml', -charset => 'utf-8');
+       print $cgi->header(
+               -type => 'text/xml',
+               -charset => 'utf-8',
+               -content_disposition => 'inline; filename="opml.xml"');
+
        print <<XML;
 <?xml version="1.0" encoding="utf-8"?>
 <opml version="1.0">