print out content type header in log when it is corrupted.