src/javascript/runtime/html5/xhr/XMLHttpRequest.js
function _preloadAndSend(meta, data) {
			var target = this, blob, fr;
				
			// get original blob
			blob = data.getBlob().getSource();
			
			// preload blob in memory to be sent as binary string
			fr = new window.FileReader();
			fr.onload = function() {
				// overwrite original blob
				data.append(data.getBlobName(), new Blob(null, {
					type: blob.type,
					data: fr.result
				}));
				// invoke send operation again
				self.send.call(target, meta, data);
			};
			fr.readAsBinaryString(blob);
		}
function _preloadAndSend(meta, data) {
			var target = this, blob, fr;
				
			// get original blob
			blob = data.getBlob().getSource();
			
			// preload blob in memory to be sent as binary string
			fr = new window.FileReader();
			fr.onload = function() {
				// overwrite original blob
				data.append(data.getBlobName(), new Blob(null, {
					type: blob.type,
					data: fr.result
				}));
				// invoke send operation again
				self.send.call(target, meta, data);
			};
			fr.readAsBinaryString(blob);
		}
function _preloadAndSend ( meta , data ) { var target = this , blob , fr ; // get original blob blob = data . getBlob ( ) . getSource ( ) ; // preload blob in memory to be sent as binary string fr = new window . FileReader ( ) ; fr . onload = function ( ) { // overwrite original blob data . append ( data . getBlobName ( ) , new Blob ( null , { type : blob . type , data : fr . result } ) ) ; // invoke send operation again self . send . call ( target , meta , data ) ; } ; fr . readAsBinaryString ( blob ) ; }
here we go... ugly fix for ugly bug
here we go ... ugly fix for ugly bug