diff --git a/ddclient.in b/ddclient.in index 27b9331..9c74b69 100755 --- a/ddclient.in +++ b/ddclient.in @@ -4026,14 +4026,6 @@ sub dnsexit2_update_host { failed("updating %s: Could not connect to %s", $h, $url); return; }; - (my $http_status) = ($reply =~ m%^s*HTTP/.*\s+(\d+)%i); - debug("HTTP response code: %s", $http_status); - if ($http_status ne '200') { - failed("Failed to update Host\n%s", $h); - failed("HTTP response code\n%s", $http_status); - failed("Full reply\n%s", $reply) unless opt('verbose'); - return; - } (my $body = $reply) =~ s/^.*?\r?\n\r?\n//s; my $response = eval { decode_json($body); }; if (!$response) {