diff options
author | Eric Wong <e@80x24.org> | 2015-09-01 08:55:25 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2015-09-01 08:56:06 +0000 |
commit | 97bef984363d1279a6ac130d35f063a834e9c241 (patch) | |
tree | 6a91e79c0129969ed1c25584b803008d5ccb84e9 /t | |
parent | 41d5b5f42ec41cd3cefb964eff2da7df88677dde (diff) | |
download | public-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.t | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"!, |