summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2020-09-17 11:45:14 +0200
committerYorhel <git@yorhel.nl>2020-09-17 11:45:14 +0200
commit68c0dd38ada2e468810b8b39379356fa0fb840f5 (patch)
tree4b99d477dd0a4df94c0645aab45c18ebaf2e3ccc
parent266d9e9b9f4fd3f840f950aefe7e82ecbc0f1689 (diff)
Misc::Feeds: Set correct content-type headerHEADmaster
-rw-r--r--lib/VNWeb/Misc/Feeds.pm1
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;