Don't let size(key) get tricked by non-200 OK responses
commitc0450c6888c6234bfbd324672ddcedb33901d21e
authorEric Wong <normalperson@yhbt.net>
Wed, 31 Dec 2008 02:38:48 +0000 (30 18:38 -0800)
committerEric Wong <normalperson@yhbt.net>
Wed, 31 Dec 2008 02:38:48 +0000 (30 18:38 -0800)
tree7b87741161bbede2fa35f4767f9836b9fe89caf9
parentdda46f246f93ac31512582767c402957fb2fbaa1
Don't let size(key) get tricked by non-200 OK responses

We never checked the HTTP status code when making the HEAD
request.  All this HTTP stuff should probably be moved to
HTTPFile
lib/mogilefs/mogilefs.rb
test/test_mogilefs.rb