]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/cgi.t
feed: use application/atom+xml for Content-Type
[public-inbox.git] / t / cgi.t
diff --git a/t/cgi.t b/t/cgi.t
index b0af8ae179b2af2c8b9f6f5e00face8180ae6207..7f72eaa5df5e6842fa1f17ae453c68a2cf233bb3 100644 (file)
--- a/t/cgi.t
+++ b/t/cgi.t
@@ -206,7 +206,7 @@ EOF
                $path = "/test/blahblah%40example.com/t.atom";
                $res = cgi_run($path);
                like($res->{head}, qr/^Status: 200 /, "atom returned 200");
-               like($res->{head}, qr!^Content-Type: application/xml!m,
+               like($res->{head}, qr!^Content-Type: application/atom\+xml!m,
                        "search returned atom");
                my $p = XML::Feed->parse(\($res->{body}));
                is($p->format, "Atom", "parsed atom feed");