rem: send: function(url, data){ this.fireEvent('onRequest'); this.transport.open(this.options.method, url, this.options.async); this.transport.onreadystatechange = this.onStateChange.bind(this); this.setHeaders({'X-Requested-With': 'XMLHttpRequest'}); this.setHeaders(this.options.headers); if (this.options.method == 'post'){ this.setHeaders({'Content-type' : 'application/x-www-form-urlencoded'}); if (this.transport.overrideMimeType) this.setHeaders({'Connection': 'close'}); } this.transport.send(data); return this; } 
add: send: function(options){ options = Object.extend(options || {}, {postBody: this.toQueryString(), method: 'post'}); return new Ajax(this.getProperty('action'), options).request(); }, 
context: 	send: function(url, data){		this.fireEvent('onRequest');		this.transport.open(this.options.method, url, this.options.async);		this.transport.onreadystatechange = this.onStateChange.bind(this);		this.setHeaders({'X-Requested-With': 'XMLHttpRequest'});		this.setHeaders(this.options.headers);		if (this.options.method == 'post'){			this.setHeaders({'Content-type' : 'application/x-www-form-urlencoded'});			if (this.transport.overrideMimeType) this.setHeaders({'Connection': 'close'});		}		this.transport.send(data);		return this;	}
meta: 6698	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6698/ee45bcbdda9f41e1d047aeccacc4bf8768c2c67b/Ajax.js/buggy/Remote/Ajax.js