On Mon Apr 13 10:05:44 2009, PERLER wrote:
Show quoted text> Create an empty file (e.g. blank.txt) and access it via the web browser.
>
> The content is "0"
I couldn't reproduce the behaviour of sending out "0", but it indeed
didn't do what one would expect. It sent out an error page instead of
the file.
It was being caused by a bug in Catalyst-Runtime, which didn't call
write() when a filehandle that already was at eof was passed as the
response body.
This is now fixed. Tests have been added to Static-Simple. It'll be
shipped as soon as the next version of -Runtime has been released.