diff options
Diffstat (limited to 'lib/VNWeb/Misc/Feeds.pm')
-rw-r--r-- | lib/VNWeb/Misc/Feeds.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/VNWeb/Misc/Feeds.pm b/lib/VNWeb/Misc/Feeds.pm index 6d3a3eba..fdc6606c 100644 --- a/lib/VNWeb/Misc/Feeds.pm +++ b/lib/VNWeb/Misc/Feeds.pm @@ -11,6 +11,7 @@ sub feed { my($path, $title, $data) = @_; my $base = tuwf->reqBaseURI(); + tuwf->resHeader('Content-Type', 'application/atom+xml; charset=UTF-8'); xml; tag feed => xmlns => 'http://www.w3.org/2005/Atom', 'xml:lang' => 'en', 'xml:base' => "$base/", sub { tag title => $title; |