title: When sending post it returns: stream ended unexpectedly
body: <p>When I make a post request with <code>Content-Type: multipart/form-data</code>, it returns this error:</p>
  
  <blockquote>
    <p>"message": "stream ended unexpectedly"</p>
  </blockquote>
  
  <p>My code:</p>
  
  <pre class="lang-js prettyprint-override"><code>const form = new FormData();
  if (state.fileCropped) {
    form.append("file", {
      "uri": state.croppedImageFile,
      "name": "image.jpeg",
      "type": "image/jpeg",
    });
  }
  User.save(form, {
      "Authorization": user.token,
      "Accept": "multipart/form-data",
      "Content-Type": "multipart/form-data; boundary=2baac014-7974-49dd-ae87-7ce56c36c9e7",
    })
    .then(() =&gt; {
      this.context.spinner.hideSpinner();
      this.context.props.history.push("/Users");
    })
    .catch(err =&gt; {
      this.context.spinner.hideSpinner();
      this.context.alert.warn(err.title, err.detail);
    });
  </code></pre>
  
  
  
  <p>How can I fix this error?</p>