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.
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},