Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Streaming on put #16

Open
joaodrp opened this Issue · 3 comments

3 participants

@joaodrp

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

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

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

@krukid

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.