title: Binary lines in multipart/form-data (file upload)
body: <p>I'm writing a simple webserver in python that allows a user to upload a file using multipart/form-data. As far as I can tell, multipart MIME data is supposed to be line based. For instance, the boundary has to be at the beginning of a line.</p>
  
  <p>I can't figure out how binary data is handled in this regard. My client (Firefox) is <em>not</em> encoding it into 7bit ASCII or anything, it's just raw binary data it's sending. Does it split the data into lines at arbitrary locations? Is there a maximum line length specified for multipart data? I've tried looking through the RFC for multipart/form-data, but didn't find anything.</p>