title: HTTP Data chunks over multiple packets?
body: <p>What is the correct way for a HTTP server to send data over multiple packets?</p>
  
  <p>For example I want to transfer a file, the first packet I send is:</p>
  
  <pre><code>HTTP/1.1 200 OK
  Content-type: application/force-download
  Content-Type: application/download
  Content-Type: application/octet-stream
  Content-Description: File Transfer
  Content-disposition: attachment; filename=test.dat
  Content-Transfer-Encoding: chunked
  
  400
  &lt;first 1024 bytes here&gt;
  
  400
  &lt;next 1024 bytes here&gt;
  
  400
  &lt;next 1024 bytes here&gt;
  </code></pre>
  
  <p>Now I need to make a new packet, if I just send:</p>
  
  <pre><code>400
  &lt;next 1024 bytes here&gt;
  </code></pre>
  
  <p>All the clients close there connections on me and the files are cut short.</p>
  
  <p>What headers do I put in a second packet to continue on with the data stream?</p>