Cleanup and document http_get_sock
commitdda46f246f93ac31512582767c402957fb2fbaa1
authorEric Wong <normalperson@yhbt.net>
Wed, 31 Dec 2008 02:03:06 +0000 (30 18:03 -0800)
committerEric Wong <normalperson@yhbt.net>
Wed, 31 Dec 2008 02:21:28 +0000 (30 18:21 -0800)
treefdc8cfaf3496b2143577a4d307147318f5c9a916
parente07b59855a61a4053810f72e5a9f2000d54964e5
Cleanup and document http_get_sock

Correctly fail when we get non-200 HTTP responses and retry on
the next URI.
lib/mogilefs/mogilefs.rb
test/test_mogilefs.rb