about summary refs log tree commit homepage
path: root/public-inbox-cgi
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2014-04-10 00:23:18 +0000
committerEric Wong <e@80x24.org>2014-04-10 00:27:18 +0000
commit44af7563687c794dba2006a774ec525208488755 (patch)
tree4eeffad104f324a520172e5e59fe357a2e5d29cb /public-inbox-cgi
parent4ea72fc2602921ddb9e66dc56fd76893c3b57022 (diff)
downloadpublic-inbox-44af7563687c794dba2006a774ec525208488755.tar.gz
The feed itself already specifies it in XML, and we risk confusing
clients if XML::Atom::SimpleFeed changes in the future.  This also
increases consistency for CGI vs static-file serving.
Diffstat (limited to 'public-inbox-cgi')
-rwxr-xr-xpublic-inbox-cgi3
1 files changed, 1 insertions, 2 deletions
diff --git a/public-inbox-cgi b/public-inbox-cgi
index 5c21fdda..4e727da8 100755
--- a/public-inbox-cgi
+++ b/public-inbox-cgi
@@ -104,8 +104,7 @@ sub invalid_list_mid {
 sub get_atom {
         my ($ctx, $cgi, $top) = @_;
         require PublicInbox::Feed;
-        [ '200 OK',
-          { 'Content-Type' => 'application/xml; charset=us-ascii' },
+        [ '200 OK', { 'Content-Type' => 'application/xml' },
           PublicInbox::Feed->generate({
                         git_dir => $ctx->{git_dir},
                         listname => $ctx->{listname},