Project: titanium
Issue TIMOB-23127: Windows: Ti.Network.HTTPClient.setRequestHeader is crashing
the setRequestHeader of the HTTP obj is not working, when used the send() crashes all the time If I remove the setRequeestHeader and handle the type by default in the back then the send() works again.. We need of course this feature in windows.. Example code: {code:javascript} var http = Ti.Network.createHTTPClient({	onload: function() {	Ti.API.info('API: step onload');	var res = JSON.parse(this.responseText);	},	onerror: function(error) {	Ti.API.info('API: step onerror');	},	timeout: 90000	});	http.open('POST', url);	*// If I unmark the setRequestHEader the below send() crashes..*	//http.setRequestHeader("Content-type", "application/x-www-form-urlencoded");	http.send(data); {code}
Story points: 8