Expose Content-Type header for downloads

Exposes the Content-Type header when downloading a file