about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-09-03 08:27:42 +0000
committerEric Wong <e@80x24.org>2015-09-03 08:27:42 +0000
commit4c1a95b7860f16975aa055e2c11481e791b513d5 (patch)
tree35ad97fc774340f4c6b50040229bfd1c9be6308b /t
parent83fa9f483121526fceb0a40b715aaf6025b3e7fa (diff)
downloadpublic-inbox-4c1a95b7860f16975aa055e2c11481e791b513d5.tar.gz
This is the correct Content-Type for Atom feeds, especially
since we updated to use ".atom" as the suffix.
Diffstat (limited to 't')
-rw-r--r--t/cgi.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/cgi.t b/t/cgi.t
index b0af8ae1..7f72eaa5 100644
--- 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");