formatting and content-type header