after switching from request to superagent in 0.9.0 release getObject stopped working, the response.body is empty ({}), no any errors.
Most likely it affects only objects larger than a certain size (our models are usually bigger than 500K).
Anyway, the solution is to buffer the response. Please review and accept.
after switching from
request
tosuperagent
in 0.9.0 release getObject stopped working, the response.body is empty ({}
), no any errors. Most likely it affects only objects larger than a certain size (our models are usually bigger than 500K). Anyway, the solution is to buffer the response. Please review and accept.