aws/aws-sdk-ruby — pull request #319 by awood45 (2013-07-29 20:00:14+00:00)
Title: Verify content-length for Net::HTTP responses.

Some downloads from Amazon S3 can be truncated, and Net::HTTP does not check response body size against the content-length specified in the response header. This change adds such a check, which can be toggled on or off (on by default) in the AWS.config.