Change log for Web::Simple
+ - Change CLI mode to print status line and headers to STDERR and content
+ to STDOUT so that './myapp /foo.html >foo.html' works sanely
- Add *.* and **.* dispatch types to keep extension
- Add Antiquated Perl slides in a POD document.
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 {