new_file gains a :largefile => :chunked option
commit492bf768036b1c6287d013e37535618ebdeb8833
authorEric Wong <normalperson@yhbt.net>
Wed, 7 Dec 2011 05:20:55 +0000 (7 05:20 +0000)
committerEric Wong <normalperson@yhbt.net>
Wed, 7 Dec 2011 07:40:00 +0000 (7 07:40 +0000)
tree7cbf9b671591929cf6dfbf75a714ef9ce9edb468
parent86318ca3e9ede3bac245a7bdcb31b9c3ad15ef67
new_file gains a :largefile => :chunked option

This returns a new HTTPStream object that behaves
like a writable IO object with the following methods:

* write
* print
* printf
* putc
* puts
* syswrite
* <<

..and also responds to IO.select (for writability)
Manifest.txt
lib/mogilefs.rb
lib/mogilefs/http_file.rb
lib/mogilefs/http_stream.rb [new file with mode: 0644]
lib/mogilefs/mogilefs.rb
lib/mogilefs/new_file_common.rb [new file with mode: 0644]
lib/mogilefs/new_file_writer.rb [new file with mode: 0644]
test/test_mogstored_rack.rb