title: multipart/form-data not working on ionic iOS
body: <p>I have an ionic 3 project that allows for file upload to the server. The following code is working fine from Android. But on iOS it appears to get blocked (i.e. the server code at /upload.php is obviously the same in both cases, but coming from iOS it does not receive any of the posted data).</p>
  
  <pre><code>this.http.setDataSerializer('urlencoded');
  this.http.post("http://example.com/upload.php", {
    name: this.filename,
    data: this.datafile
  }, {"Content-Type":"multipart/form-data"})
  .then(res =&gt; {
    console.log('success response: ' + res.data); 
  }, error =&gt; {
    console.log(error: ' + error);
  });
  </code></pre>
  
  <p>Any ideas?</p>
  
  <p>Is there some setting in xCode that needs to be configured to allow multipart/form-data posts to work? Or perhaps somewhere to white list the domain to allow it?</p>