diff options
author | Eric Wong <e@80x24.org> | 2014-04-10 00:23:18 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2014-04-10 00:27:18 +0000 |
commit | 44af7563687c794dba2006a774ec525208488755 (patch) | |
tree | 4eeffad104f324a520172e5e59fe357a2e5d29cb /public-inbox-cgi | |
parent | 4ea72fc2602921ddb9e66dc56fd76893c3b57022 (diff) | |
download | public-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-x | public-inbox-cgi | 3 |
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}, |