private static void CheckResponseMsgFormat(bool condition) { if (!condition) { throw new HttpRequestException(SR.net_http_unix_invalid_response); } }