From eda584a0f5fb7bf2d5fc70886f5edb20ae97ecca Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Tue, 19 Mar 2013 16:01:43 +0000 Subject: [PATCH] HTTP/1.1 sends headers back more, tolerate that git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15587 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/rhevm.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/xCAT-server/lib/xcat/plugins/rhevm.pm b/xCAT-server/lib/xcat/plugins/rhevm.pm index ebe172e5c..d366ba25b 100644 --- a/xCAT-server/lib/xcat/plugins/rhevm.pm +++ b/xCAT-server/lib/xcat/plugins/rhevm.pm @@ -734,6 +734,7 @@ sub send_req { if (grep (//, $response)) { # get a error message in the html $rc = 3; } elsif (grep (/<\?xml/, $response)) { + $response =~ s/.*?new(); my $doc = $parser->parse_string($response); if ($doc ) {