avoid exception with responses which has headers with no Content-Type