Support overriding content type via explicit header.