[vhffs-dev] [1133] correct content type

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 1133
Author:   gradator
Date:     2008-01-20 03:08:19 +0000 (Sun, 20 Jan 2008)

Log Message:
-----------
correct content type

Modified Paths:
--------------
    trunk/vhffs-public/extern/newgroupsrss.pl
    trunk/vhffs-public/extern/newusersrss.pl


Modified: trunk/vhffs-public/extern/newgroupsrss.pl
===================================================================
--- trunk/vhffs-public/extern/newgroupsrss.pl	2008-01-20 02:28:18 UTC (rev 1132)
+++ trunk/vhffs-public/extern/newgroupsrss.pl	2008-01-20 03:08:19 UTC (rev 1133)
@@ -104,5 +104,5 @@
         $template->param( MESSAGE => $message );
 
 	binmode STDOUT , ':utf8';
-        print "Content-Type: text/html; charset=utf-8\n\n" . $template->output;
+        print "Content-Type: application/rss+xml; charset=utf-8\n\n" . $template->output;
 }

Modified: trunk/vhffs-public/extern/newusersrss.pl
===================================================================
--- trunk/vhffs-public/extern/newusersrss.pl	2008-01-20 02:28:18 UTC (rev 1132)
+++ trunk/vhffs-public/extern/newusersrss.pl	2008-01-20 03:08:19 UTC (rev 1133)
@@ -103,5 +103,5 @@
         $template->param( MESSAGE => $message );
 
 	binmode STDOUT , ':utf8';
-	print "Content-Type: text/html; charset=utf-8\n\n" . $template->output;
+	print "Content-Type: application/rss+xml; charset=utf-8\n\n" . $template->output;
 }


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/