title: Correct HTTP Headers for Images?
body: <p>I'm writing a web server in C#, just for the fun of it, and I am able to serve basic text files to my browser. However, when serving up an image (say, <code>image.png</code>), all browsers that I test my server on (IE, Firefox, and Chrome) show some kind of placeholder thumbnail for the image, as if the image is corrupted or invalid.</p>
  
  <p>The response that I am sending to the browser looks like</p>
  
  <pre><code>HTTP/1.0 200 Ok
  Content-Type: image/png
  Content-Length: 14580053
  
  {image data here}
  </code></pre>
  
  <p>Am I using the correct HTTP headers? Or, if I am, why else would browsers not accept the image?</p>