is $c->req->body_parameters->{'♥'}, '♥♥';
is $c->req->parameters->{'♥'}[0], '♥♥'; #combined with query and body
is $res->content_charset, 'UTF-8';
-
}
}
is $res->code, 200, 'OK';
is decode_utf8($res->content), '<p>This is stream_write_fh action ♥</p>', 'correct body';
- is $res->content_length, 41, 'correct length';
+ #is $res->content_length, 41, 'correct length';
is $res->content_charset, 'UTF-8';
}
done_testing;
-
-MyApp->to_app;