Content Length auto detection was moved from Catalyst core to middleware in a
recent build of Catalyst. Its likely that the view you are using isn't
bothering to set the length and the middleware is failing to provide it
properly since the Head middleware has already removed it.
Since the
Hey,
So when I was looking at this it seemed to me the order of the middleware stack
was correct, so I wrote a quick test case:
https://github.com/perl-catalyst/catalyst-runtime/blob/master/t/head_middleware.t
and it does seem to me that this works as desired (if you have an action that
I've been playing with a toy application and inspecting its responses to
various HTTP methods and noticed that Content-Length is missing from the
HEAD response. Both Catalyst::Action::RenderView and C::A::Serialize
(from the C::A::REST package) seem to take the easy way out and return
1 if