开发者

Transloadit: Sending 0 byte file while request.body.read is not empty

I'm using transloadit and sending files with xhr using valumns file uploader.

Files are sent to the server without errors (i checked size and content of request.body.read) but once I do:

response = assembly.submit! (request.body)

An empty file is sent (I checked many times in the assemblies history page).

Thanks for yo开发者_如何学运维u help.


Call request.body.rewind before using request.body.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜