happening icon indicating copy to clipboard operation
happening copied to clipboard

Streaming on put

Open joaodrp opened this issue 13 years ago • 3 comments

Hi,

Is it possible to stream a file on put requests? Like supported by em-http:

http = EventMachine::HttpRequest.new('http://www.website.com/').post :file => 'largefile.txt'

I've been trying to patch it but cant get it to work. This would be useful to avoid buffer a large file into memory.

joaodrp avatar Jan 26 '12 21:01 joaodrp

There is a bug with the underlying em-http-request gem: https://github.com/igrigorik/em-http-request/issues/176

Once it's fixed I'm going to request a pull on my fork with streaming put support.

krukid avatar Mar 12 '12 16:03 krukid

this has been fixed: https://github.com/igrigorik/em-http-request/issues/176

jtoy avatar Jul 10 '12 18:07 jtoy

and the pull has been requested: https://github.com/peritor/happening/pull/17

krukid avatar Jul 11 '12 11:07 krukid