add ability to customize the content-type header