ensure get_file_data users notice truncated responses
commitfebf8fc2aab898218333e245bab4bda972de5692
authorEric Wong <normalperson@yhbt.net>
Thu, 10 Nov 2011 05:28:08 +0000 (10 05:28 +0000)
committerEric Wong <normalperson@yhbt.net>
Thu, 10 Nov 2011 05:28:08 +0000 (10 05:28 +0000)
tree1e2a9e38e7d526335d4d5570fd53c3f2ad57861c
parent9c0a7c670494fb55fb8ef98838fa0f53aab38d0d
ensure get_file_data users notice truncated responses

We don't want to silently truncate data on our users,
that would be bad.
lib/mogilefs/http_reader.rb
lib/mogilefs/mogilefs.rb
test/test_http_reader.rb [new file with mode: 0644]