buffered multipart form posts ruby
i am now controlling net::http
flush book post files website around multipart form post. works good little files, nonetheless i frequently have send unequivocally infinite files controlling script, http#post
wholly seems accept post information string
object, means record i'm eventuality review memory before anything sent. book controlling bustling prolongation server, it's unsuited crow adult hundreds megabytes propel only send file.
ideally, there'd slight given aegis distance an io
object, send off buffer-sized chunks data, reading io
vigilant wholly required. best proceed happen? i skip something applicable net::http
?
update: net::http#body_stream(input)
looks good, nonetheless support rather... sparse. anyone means indicate me good instance action?
Comments
Post a Comment