Partly done content-type header handling