title: How to send a "multipart/related" content type in Actionscript?
body: <p>If I want to send the following format body in actionscript through http Post:</p>
  
  <pre><code>Content-Type: multipart/related; boundary="END_OF_PART"
  Content-Length: 423478347
  MIME-version: 1.0
  
  Media multipart posting
  --END_OF_PART
  Content-Type: application/atom+xml
  
  &lt;entry xmlns='http://www.w3.org/2005/Atom'&gt;
    &lt;title&gt;plz-to-love-realcat.jpg&lt;/title&gt;
    &lt;summary&gt;Real cat wants attention too.&lt;/summary&gt;
    &lt;category scheme="http://schemas.google.com/g/2005#kind"
      term="http://schemas.google.com/photos/2007#photo"/&gt;
  &lt;/entry&gt;
  --END_OF_PART
  Content-Type: image/jpeg
  
  ...binary image data...
  --END_OF_PART--
  </code></pre>
  
  <p>How can I write the actionscript to send the "multipart/related" content type.<br>
  Please advice.  Thanks.</p>