add mogstored_rack example
commit21fc20b7d798c3eab6155b24dcb58c95b53ef856
authorEric Wong <normalperson@yhbt.net>
Sun, 20 Nov 2011 06:29:26 +0000 (20 06:29 +0000)
committerEric Wong <normalperson@yhbt.net>
Sun, 20 Nov 2011 08:17:51 +0000 (20 08:17 +0000)
treefef27d545c9263862e305a66b1b5a867e0138121
parent6018860fe20c82daa131cb9e30dba228c862c540
add mogstored_rack example

This should allow any Rack server to become an HTTP server for
mogstored.

When using one of Unicorn/Rainbows!/Zbatery, the Content-MD5
HTTP Trailer will be supported.  Otherwise, Content-MD5 can
always be supported as a regular HTTP header (at the cost of
requiring the client to read whatever they upload twice).
Manifest.txt
bin/mog
examples/mogstored_rack.rb [new file with mode: 0644]
lib/mogilefs/chunker.rb
lib/mogilefs/http_file.rb
test/fresh.rb
test/test_mogstored_rack.rb [new file with mode: 0644]
test/test_unit_mogstored_rack.rb [new file with mode: 0644]