On Fri, Nov 1, 2013 at 8:31 AM, John Napiorkowski wrote:
> I think a patch that made sure strings being set to location conformed to
> the expected standard would be very welcomed!
>
> on the other hand I thought this was also caught by
>
> https://metacpan.org/pod/Plack::Middleware::Lint
>
Yes,
I was reviewing code last night for release of Catalyst Hamburg dev5 and saw
that $c->res->write is just calling the writer under the hood. So as long as
your headers are ready to finalize, that should be fine as well. Just remember
this approach is going to block, so be careful with anything
Catalyst::Test uses Plack::Test under the hood. That mangle_response stuff is
mostly evil :)
Sounds like you are saying you'd like to apply Plack Middleware during testing.
The latest dev release on CPAN lets you configure middleware via
configuration, so you could have some middleware in you
I think a patch that made sure strings being set to location conformed to the
expected standard would be very welcomed!
on the other hand I thought this was also caught by
https://metacpan.org/pod/Plack::Middleware::Lint
as well? In any case Catalyst response could reject any attempts to set