title: does multipart/form-data sends the whole file data at one go or in a stream
body: <p>I have a requirement of uploading a large file over HTTP to a remote server.
  I am researching on how to send the data using multipart/form-data.</p>
  
  <p>I have gone through <a href="https://stackoverflow.com/questions/8659808/how-does-http-file-upload-work">How does HTTP file upload work?</a> and understood how it separates the file data using boundaries.</p>
  
  <p>I wanted to know whether all the file data is sent at one go or is streamed with several requests to the remote server.</p>
  
  <p>Because if it is sent at one go, it is not possible to read the whole data at the remote server and write it to a file.</p>
  
  <p>But if it streamed, how does the remote server parses the streamed data, write this streamed data to a file and redo the same thing till all the data is streamed.</p>
  
  <p>Sorry if it a noob question, I am researching about it as well.</p>
  
  <p>Maybe it is outside the scope of multipart/form-data and HTTP is itself taking care of.</p>
  
  <p>Any help is appreciated.</p>