diff options
author | Eric Wong <e@80x24.org> | 2021-04-26 08:02:16 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-04-26 10:44:29 +0000 |
commit | 60196eedef969743a76f915825b741b69ed1c171 (patch) | |
tree | a5c4a5e06d9f42ffecfc36462e7b541225b9838c /t/plack.t | |
parent | d04a5a1eb026fa740e330d2b64af17d80e746624 (diff) | |
download | public-inbox-60196eedef969743a76f915825b741b69ed1c171.tar.gz |
Don't attempt to return HTTP 300 via Extmsg on it, since whoever uses /raw is likely piping it to some other command.
Diffstat (limited to 't/plack.t')
-rw-r--r-- | t/plack.t | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -82,6 +82,8 @@ test_psgi($app, sub { $res = $cb->(GET('http://example.com/test/crlf@example.com/raw')); is($res->code, 200, 'retrieved CRLF raw'); like($res->content, qr/\r/, 'CR preserved in raw message'); + $res = $cb->(GET('http://example.com/test/bogus@example.com/raw')); + is($res->code, 404, 'missing /raw is 404'); }); # redirect with newsgroup |