happening
happening copied to clipboard
Streaming on put
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.
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.
this has been fixed: https://github.com/igrigorik/em-http-request/issues/176
and the pull has been requested: https://github.com/peritor/happening/pull/17