Re: [Catalyst] HTTP headers returned from GET vs HEAD

2014-05-01 Thread John Napiorkowski
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

Re: [Catalyst] HTTP headers returned from GET vs HEAD

2014-05-01 Thread John Napiorkowski
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