use pantomime to generate content type header