about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-12-25 11:21:40 +0000
committerEric Wong <e@80x24.org>2015-12-25 12:05:42 +0000
commita5409589fe53734ed073dddb15f0a8033052986b (patch)
tree61f98ce9c4bd3a5d082e90581788902d41c0b97d /t
parent0deae67a5ee9760ce500a8a989071aa4ce08b05e (diff)
downloadpublic-inbox-a5409589fe53734ed073dddb15f0a8033052986b.tar.gz
HTTP/1.1 clients will want persistent connections and
need to know response terminations.
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 560080f0..31ec58da 100644
--- a/t/plack.t
+++ b/t/plack.t
@@ -116,7 +116,7 @@ EOF
                 my ($cb) = @_;
                 my $res = $cb->(GET($pfx . '/blah%40example.com/raw'));
                 is(200, $res->code, 'success response received for /*/raw');
-                like($res->content, qr!\AFrom !, "mbox returned");
+                like($res->content, qr!^From !sm, "mbox returned");
         });
 
         # legacy redirects