Analyzing responses before attempting to parse them