but he can take the json content and build multipart/form-data on his own or just simply take advantage of any javascript library, such as jquery. So he can have a ajax-based upload...
who told you that? binary-to-text encoding is so common, such as radix-64, aka base64. With base64, even counting padding, the encoded string is only about137% of the original data length...
but he can take the json content and build multipart/form-data on his own or just simply take advantage of any javascript library, such as jquery. So he can have a ajax-based upload..."filecontent":"这里放文件的二进制码",不瞎应该能看到这块吧。
Did u piss off, asshole?U dummy ass doesn't have brain, do u?If u are not blind, u should see attribute filecontent has a type of string! Show us how u gonna store binary in string format without proper encoding, fucking idiot!U were born in 1979, u are supposed to be a matured man not a pushy. Unfortunately, u are not even close to the latter!Eat my shit, asshole!but he can take the json content and build multipart/form-data on his own or just simply take advantage of any javascript library, such as jquery. So he can have a ajax-based upload..."filecontent":"这里放文件的二进制码",不瞎应该能看到这块吧。
json 处理 10 MB 以上的数据明显有性能问题。
你按照他的想法写一个 json 处理,文件 20MB,看看会有什么情况。
大一点的文件,二进制码,1位变8位,直接size*8。那么传输时间*8。原本需要5秒,现在变40秒。一秒也变8秒。用户体验需要考虑。
but he can take the json content and build multipart/form-data on his own or just simply take advantage of any javascript library, such as jquery. So he can have a ajax-based upload...
who told you that? binary-to-text encoding is so common, such as radix-64, aka base64. With base64, even counting padding, the encoded string is only about137% of the original data length...
but he can take the json content and build multipart/form-data on his own or just simply take advantage of any javascript library, such as jquery. So he can have a ajax-based upload..."filecontent":"这里放文件的二进制码",不瞎应该能看到这块吧。
TMD js有TMD流控制组件么?还是Html有流控制组件?
哪里说了用js从硬盘上文件的二进制流...楼主给的条件是已经有了包含二进制码的json...
好像楼主都没有说过数据是从页面来的,web的接口一定要从页面来吗,不懂
好像楼主都没有说过数据是从页面来的,web的接口一定要从页面来吗,不懂