Skip to content

Streaming on put #16

Open
joaodrp opened this Issue Jan 26, 2012 · 3 comments

3 participants

@joaodrp
joaodrp commented Jan 26, 2012

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.

@krukid
krukid commented Mar 12, 2012

There is a bug with the underlying em-http-request gem:
igrigorik/em-http-request#176

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

@jtoy
jtoy commented Jul 10, 2012

this has been fixed: igrigorik/em-http-request#176

@krukid
krukid commented Jul 11, 2012

and the pull has been requested: #17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.