]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
send Accept: header
authorwessels <>
Thu, 4 Apr 1996 08:57:54 +0000 (08:57 +0000)
committerwessels <>
Thu, 4 Apr 1996 08:57:54 +0000 (08:57 +0000)
scripts/tcp-banger.pl

index 34e22b1758fa3a233c376ee416154de0da1fa59f..e8d3ae9c666bbc41eb0cb6864ebad608eb919cf1 100755 (executable)
@@ -38,7 +38,7 @@ while (<>) {
         select (SOCK); $| = 1;
         select (STDOUT);
 
-       print SOCK "GET $url HTTP/1.0\r\n\r\n";
+       print SOCK "GET $url HTTP/1.0\r\nAccept: */*\r\n\r\n";
        $_ = <SOCK>;
        ($ver,$code,$junk) = split;
        printf "%s %s\n", $code ? $code : 'FAIL', $url;