rem: var method = opts.method; var urlArray = url.split("?"); var path = urlArray[0]; var query = urlArray[1]; var ajaxId = opts.ajaxId;  if (method == "get") { xmlHttpReq.open("GET", url, true); xmlHttpReq.send(""); } else { xmlHttpReq.open("POST", path, true); xmlHttpReq.setRequestHeader("Method", "POST " + path + " HTTP/1.1"); xmlHttpReq.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); xmlHttpReq.setRequestHeader("Ajax-ID", ajaxId); xmlHttpReq.send(query); } 
add: send(url); 
context: 	this.resend = function(url, options) {		opts = options;		onComplete = opts.onComplete;				var method = opts.method;		var urlArray = url.split("?");		var path = urlArray[0];		var query = urlArray[1];		var ajaxId = opts.ajaxId;				if (method == "get") {			xmlHttpReq.open("GET", url, true);			xmlHttpReq.send("");		}		else {			xmlHttpReq.open("POST", path, true);			xmlHttpReq.setRequestHeader("Method", "POST " + path + " HTTP/1.1");			xmlHttpReq.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");			xmlHttpReq.setRequestHeader("Ajax-ID", ajaxId);			xmlHttpReq.send(query);		}	};
meta: 10143	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10143/5ca568beeb5e5a591e2266037c0933e26c8d28fa/ajax.js/buggy/portal-web/docroot/html/js/ajax.js