add new_file :largefile => :content_range support
commitad559b036966ba5797ac53a70e17342640d07952
authorEric Wong <normalperson@yhbt.net>
Wed, 7 Dec 2011 11:09:37 +0000 (7 11:09 +0000)
committerEric Wong <normalperson@yhbt.net>
Wed, 7 Dec 2011 21:53:30 +0000 (7 21:53 +0000)
treea25895c2b7f0c1f22990a2bb583ffe02f21af067
parent492bf768036b1c6287d013e37535618ebdeb8833
add new_file :largefile => :content_range support

This is similar to the "largefile => 1" support in the
Perl MogileFS::Client package.  It requires net/http/persistent
to avoid repeatedly setting up and tearing down a socket.
lib/mogilefs/http_range_put.rb [new file with mode: 0644]
lib/mogilefs/mogilefs.rb
test/test_mogstored_rack.rb