set proper content type header