title: Content-Type for one file in multipart/form-data with HTTPie
body: <p>I use <a href="https://github.com/jkbrzt/httpie" rel="nofollow">HTTPie</a> to POST a
  multipart/form-data request (passing the <code>-f</code> option).  It includes a
  file field (using a <code>@</code> option).  The corresponding part of the
  multipart request has a pseudo-header <code>Content-Disposition</code>, but does
  not have a pseudo-header <code>Content-Type</code>.</p>
  
  <p>How is it possible to add such a <code>Content-Type</code> for a specific file?</p>
  
  <p>For completeness, here is what I send now (as shown by <code>-p B</code>):</p>
  
  <pre><code>--xyz
  Content-Disposition: form-data; name="file"; filename="file.txt"
  
  Hello, world!
  This is the content of the file.
  
  --xyz
  </code></pre>
  
  <p>but here is what I need to send:</p>
  
  <pre><code>--xyz
  Content-Disposition: form-data; name="file"; filename="file.txt"
  Content-Type: text/plain
  
  Hello, world!
  This is the content of the file.
  
  --xyz
  </code></pre>
  
  <p>Or to put it another way, like the CURL equivalent option: <code>-F "file=file.txt;type=text/plain"</code>.</p>