]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - config/cfgroot/ids-functions.pl
Revert "ids-functions.pl: Use GET method to fetch Header data of a file"
[ipfire-2.x.git] / config / cfgroot / ids-functions.pl
index afccf43263d813289e663bda433675f9f2e2b03d..98bf5806bd984758ea77acccbb8f09d0421b2015 100644 (file)
@@ -211,7 +211,7 @@ sub downloadruleset {
        }
 
        # Pass the requrested url to the downloader.
-       my $request = HTTP::Request->new(GET => $url);
+       my $request = HTTP::Request->new(HEAD => $url);
 
        # Accept the html header.
        $request->header('Accept' => 'text/html');