about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-09-01 08:55:25 +0000
committerEric Wong <e@80x24.org>2015-09-01 08:56:06 +0000
commit97bef984363d1279a6ac130d35f063a834e9c241 (patch)
tree6a91e79c0129969ed1c25584b803008d5ccb84e9 /t
parent41d5b5f42ec41cd3cefb964eff2da7df88677dde (diff)
downloadpublic-inbox-97bef984363d1279a6ac130d35f063a834e9c241.tar.gz
The MIME type entry for Atom feed relies on "atom",
so allow properly-configured static file servers to serve
it with the correct Content-Type header.
Diffstat (limited to 't')
-rw-r--r--t/plack.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/plack.t b/t/plack.t
index b3c87642..50c9e605 100644
--- a/t/plack.t
+++ b/t/plack.t
@@ -83,7 +83,7 @@ EOF
 
         test_psgi($app, sub {
                 my ($cb) = @_;
-                my $atomurl = 'http://example.com/test/atom.xml';
+                my $atomurl = 'http://example.com/test/new.atom';
                 my $res = $cb->(GET('http://example.com/test/'));
                 is(200, $res->code, 'success response received');
                 like($res->content, qr!href="\Q$atomurl\E"!,