title: What HTTP header to use for setting form field names (multipart/form-data)
body: <p>I'm passing raw HTTP requests to an apache server (received by PHP). The request is of type multipart/form-data, i.e. the same MIME type used when submitting HTML forms. 
  However, I'm not sure what HTTP header to use for setting the form field name (I'm just assuming it's a header defining this, don't know what else it could be) which then can be used in PHP to access the field in $_GET or $_FILES. </p>
  
  <p>The HTTP request might look something like this:</p>
  
  <pre><code>Content-type: multipart/form-data;boundary=main_boundary
  
  --main_boundary
  Content-type: text/xml
  &lt;?xml version='1.0'?&gt;
  &lt;content&gt;
  Some content goes here
  &lt;/content&gt;
  
  --main_boundary
  Content-type: multipart/mixed;boundary=sub_boundary
  
    --sub_boundary
    Content-type: application/octet-stream
  
    File A contents
  
    --sub_boundary
    Content-type: application/octet-stream
  
    File B contents
  
    --sub_boundary
  
  --main_boundary--
  </code></pre>