Code Duplication    Length = 5-5 lines in 2 locations

htdocs/class/snoopy.php 2 locations

@@ 786-790 (lines=5) @@
783
        $is_gzipped = false;
784
785
        while ($currentHeader = fgets($fp, $this->_maxlinelen)) {
786
            if ($this->read_timeout > 0 && $this->_check_timeout($fp)) {
787
                $this->status = -100;
788
                return false;
789
            }
790
791
            if ($currentHeader == "\r\n")
792
                break;
793
@@ 841-845 (lines=5) @@
838
            $results = gzinflate($results);
839
        }
840
841
        if ($this->read_timeout > 0 && $this->_check_timeout($fp)) {
842
            $this->status = -100;
843
            return false;
844
        }
845
846
        // check if there is a a redirect meta tag
847
848
        if (preg_match("'<meta[\s]*http-equiv[^>]*?content[\s]*=[\s]*[\"\']?\d+;[\s]*URL[\s]*=[\s]*([^\"\']*?)[\"\']?>'i", $results, $match)) {