title: MultipartEntityBuilder: Omit Content-Type and Content-Transfer
body: <p>I'm trying to mimic my Browsers behaviour on a multipart/form-data POST request using org.apache.http.entity.mime.MultipartEntityBuilder</p>
  
  <p>My browser only sends Content-Disposition, but no Content-Type or Content-Transfer-Encoding Headers.
  I tried to use MultipartEntityBuilder.addPart() and addTextBody() but both add those Headers by default:</p>
  
  <p>What I want (what my chrome browser does): </p>
  
  <pre><code>POST .../some.jsp HTTP/1.1
  Host: ...
  Connection: keep-alive
  Content-Type: multipart/form-data; boundary=----WebKitFormBoundary6tcnkxC7txvqE5Xl
  
  
  ------WebKitFormBoundary6tcnkxC7txvqE5Xl
  Content-Disposition: form-data; name="merkmal"
  
  5
  </code></pre>
  
  <p>What I get from MultipartEntityBuilder</p>
  
  <pre><code>POST.../some.jsp HTTP/1.1
  Host: ...
  Content-Type: multipart/form-data; boundary=m9Zb2QD-QaH-j-HqgGQfI8KwDkToz17ULYkZ
  
  --m9Zb2QD-QaH-j-HqgGQfI8KwDkToz17ULYkZ
  Content-Disposition: form-data; name="merkmal"
  Content-Type: text/plain; charset=ISO-8859-1
  Content-Transfer-Encoding: 8bit
  
  5
  </code></pre>
  
  <p><strong>Why?:</strong> The designated server thinks that everything after name="merkmal" is the value of merkmal (including the Headers). Other possible reason: Could the whole request somehow have a wrong encoding (especially for newline) ? </p>