Project: titanium
Issue TIMOB-18341: iOS: HTTPClient - Content-Type header is malformed when making a multipart/form-data POST request
*Details:* Content-Type header is malformed when making a multipart/form-data POST request. *Note:* This is *not a regression* as this occurs in 3.4.1.GA. *Steps to reproduce:* 1. Create a Titanium app with the app.js attachment and include cricket.wav attachment in the Resources folder 2. In app.js, on line 13, replace {{}} with your machine's IP address; your device and machine should be on the same wifi network 3. Install app to device 4. Next, download local_server.js attachment and run it via terminal: {{node local_server.js}} 5. In the app, press the button *Actual:* In terminal, the boundary parameter is not immediately after Content-Type multipart/form-data: {code} $ node local_server.js headers: {	"host": "172.16.3.225:1337",	"x-titanium-id": "962dd664-7f04-4340-8273-1c0e7d4b4b51",	"x-requested-with": "XMLHttpRequest",	"accept": "*/*",	"content-type": "multipart/form-data; charset=utf-8; boundary=0xTibOuNdArY_1420671499",	"content-length": "81078",	"accept-language": "en-us",	"accept-encoding": "gzip, deflate",	"connection": "keep-alive",	"user-agent": "Appcelerator Titanium/3.4.1 (iPhone/8.1; iPhone OS; en_US;)" } {code} *Expected:* The boundary parameter should be immediately after Content-Type multipart/form-data
Story points: 5