stevan/webmachine-perl — pull request #14 by tsibley (2013-07-25 23:32:51+00:00)
Title: Calculate Content-Length of the filtered body

Otherwise lengths will be incorrect when the body is encoded.

As noted in c4a7d7c, updating $body doesn't change what the client will
see. It _does_ ensure we're looking at the filtered content when
calculating Content-Length, however.