title: File transfer over HTTP
body: <p>As far as I know it is possible to transfer binary files over HTTP protocol. But HTTP is a text-based protocol, the typical HTTP response frame looks as follows:</p>
  
  <pre><code>HTTP/1.1 200 OK
  Date: Wed, 23 May 2012 22:38:34 GMT
  Content-Length: 438
  Content-Type: text/html; charset=UTF-8
  
  Here goes content
  </code></pre>
  
  <p>If so, how should binary file be encoded in this frame? What is the Content-Type? Is the content encoded with base64 - same as attachments in POP3 protocol? Or it is raw data (is it possible not to cause problems if so?)</p>