title: set content type header with rails and apache
body: <p>I want to send a generated view as a kml file, with the necessary headers(content-type and file expires in)... the use of head gives a 500, and using response.headers has no effect...</p>
  
  <p>What should i do? </p>