Fix issue when content-type cannot be inferred from a web-response.