X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FWeb%2FSimple%2FApplication.pm;h=fdf836937b3738934bc6dadc6fb4885509e0b2d5;hb=baabba332e5b851f5d1b67746f47ac69daa0d422;hp=d3806df81a5542d9bb4b7f0117b11c444bd917f1;hpb=15e679c14bf1802ecc67e8f33b8174d277be9290;p=catagits%2FWeb-Simple.git diff --git a/lib/Web/Simple/Application.pm b/lib/Web/Simple/Application.pm index d3806df..fdf8369 100644 --- a/lib/Web/Simple/Application.pm +++ b/lib/Web/Simple/Application.pm @@ -100,7 +100,9 @@ sub _run_test_request { Plack::Test::test_psgi( $self->to_psgi_app, sub { $response = shift->($request) } ); - print $response->as_string; + print STDERR $response->status_line."\n"; + print STDERR $response->headers_as_string("\n")."\n"; + print STDOUT $response->content."\n"; } sub _run_cli {