I believe XMLHttpRequest does not need to send as multipart however the 
javascript library has an option "forceMultipart" true/false however I 
found this had no effect. In fact, I just searched the library and can't 
find this option being used anywhere. I see this in the javascript 
library code:

So I dug  into the library code and found this:
if (this._options.encoding == 'multipart') { ...

yet this._options.encoding is not being set anywhere so I set it in

qq.FileUploaderBasic = function(o){
     var that = this;
     this._options = {
        encoding: 'multipart',
        etc
That appears for force multipart/form-data; boundary to be used.

In the ecpp file I have:
tnt::Multipart::const_iterator it = mp.find("qqfile");

Tested in Android 2,4, Linux FF 14, Windows XP IE 8, FF 15 and Win 7 IE 
9 and iPad/iPhone Safari does not permit file uploads until iOS6.

It is detailed here:
https://github.com/valums/file-uploader/issues/359

Still, I would think tntnet should permit XMLHttpRequest posts that do 
not use multipart boundaries. Maybe?

------------------------------------------------------------------------------
How fast is your code?
3 out of 4 devs don\\\'t know how their code performs in production.
Find out how slow your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219672;13503038;z?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Tntnet-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tntnet-general

Reply via email to