sukria/Dancer — pull request #858 by florolf (2012-11-12 14:12:20+00:00)
Title: _read_to_end: check definedness instead of value

Check whether the buffer returned by _read() is defined instead of
evaluating it for truth.

The old behavior caused a body consisting only of "0" to disappear; this
commit fixes the problem.