peej/tonic — pull request #81 by chance-an (2012-07-03 07:09:48+00:00)
Title: The response does not work correctly, if 'body' property is set after the instance is constructed.

It might be better to only calculate length before it is about to be dumped.