Catalyst-Action-FromPSGI

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

Revision history for Catalyst-Action-FromPSGI

0.001006  2014-08-04 20:59:58-05:00 America/Chicago
  - Make streaming/deferal work by leveraging Catalyst from October 2013
    (Thanks Thomas Sibley!)

0.001005  2013-09-18 15:56:55 America/Chicago
  - Fixed yet another psgi.input issue (thanks Wes Malone for finding this)

0.001004  2013-07-12 23:41:13 CST6CDT
  - Correctly set psgi.input (thanks Fitz Elliott for the test/bug report and
    miyagawa for helping find the fix)

0.001003  2013-06-13 19:15:03 CST6CDT

t/basic.t  view on Meta::CPAN


is( get('/foo/'), 'Hello world', 'successfully loaded psgi in cat controller');
is( get('/foo/foo'), 'Hello foo', 'psgi based dispatching works');
is( get('/foo/foo/'), 'Hello foo/', 'psgi based dispatching works');

is( get('/bar/'), 'Hello world, from bar', 'successfully loaded psgi in cat controller');
is( get('/bar/foo'), 'Hello foo, from bar', 'psgi based dispatching works');

is( get('/msg/'), 'yolo', 'passing data into plack app works');

is( get('/deferred'), 'Hello from a deferred response', 'deferred/streaming PSGI responses work');

is( get('/stream'), '/woo!', 'Streaming works!');

done_testing();



( run in 0.259 second using v1.01-cache-2.11-cpan-4d50c553e7e )