title: Specify content-type for documents uploaded in Magnolia
body: <p>We have uploaded an mp4 video file into our Magnolia DMS, which fails to play on Safari (Mac/iPad). Investigation shows that the Content-Type returned by Magnolia is "application/octet-stream" for the request. When serving the file through Tomcat directly, the correct Content-Type "video/mp4" is returned and video playback works.</p>
  
  <p>How can we configure the content-type to be returned in Magnolia? </p>
  
  <p>We know the content-type is a function of the request (e.g. if we add ".jpg" to the URL the type returned is "image/jpeg"), but couldn't use this knowledge to come up with a solution.</p>
  
  <p><strong>Update:</strong></p>
  
  <p>We found the MIME configuration and could change the Content-Type for "mp4" to "video/mp4". However, the Content-Type returned by Magnolia is now</p>
  
  <p>Content-Type: video/mp4;charset=UTF-8</p>
  
  <p>while the correct, working Content-Type returned for files hosted by Tomcat is</p>
  
  <p>Content-Type: video/mp4</p>
  
  <p><strong>Is it possible to make Magnolia not append any charset info to the Content-Type?</strong></p>