set the content-type header on HTTP requests