开发者

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

开发者 https://www.devze.com 2023-04-10 08:18 出处:网络
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:

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

精彩评论

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