Subject: | Web::Dispatch::_have_result in collusion with WD::call lets nonsense results escape |
These tests demonstrate examples of results that are returned by WD::call without complaint by Web::Simple or friends:
http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits/Web-Simple.git;a=blob;f=t/dispatch_misc.t;hb=refs/heads/more_tests#l80
They only lead to this rather cryptic message by Plack components:
Can't call method "request" on an undefined value at C:/Perl/site/lib/Plack/Test/MockHTTP.pm line 29.
According to miyagawa this could be a problem with Web::Simple:
https://github.com/plack/Plack/pull/437#issuecomment-29075129
Do we want to leave this as is, providing the message in Plack is improved? Or add more checking to ensure nonsense results cause Web::Simple to complain?