Code Duplication    Length = 6-7 lines in 2 locations

src/RSSFeed/simplepie/simplepie_1.3.1.mini.php 2 locations

@@ 4499-4505 (lines=7) @@
4496
                        $this->headers = $parser->headers;
4497
                        $this->body = $parser->body;
4498
                        $this->status_code = $parser->status_code;
4499
                        if ((in_array($this->status_code, array(300, 301, 302, 303, 307)) || $this->status_code > 307 && $this->status_code < 400) && isset($this->headers['location']) && $this->redirects < $redirects)
4500
4501
                        {
4502
                            $this->redirects++;
4503
                            $location = SimplePie_Misc::absolutize_url($this->headers['location'], $url);
4504
                            return $this->__construct($location, $timeout, $redirects, $headers, $useragent, $force_fsockopen);
4505
                        }
4506
                    }
4507
                }
4508
            }
@@ 4579-4584 (lines=6) @@
4576
                            $this->headers = $parser->headers;
4577
                            $this->body = $parser->body;
4578
                            $this->status_code = $parser->status_code;
4579
                            if ((in_array($this->status_code, array(300, 301, 302, 303, 307)) || $this->status_code > 307 && $this->status_code < 400) && isset($this->headers['location']) && $this->redirects < $redirects)
4580
                            {
4581
                                $this->redirects++;
4582
                                $location = SimplePie_Misc::absolutize_url($this->headers['location'], $url);
4583
                                return $this->__construct($location, $timeout, $redirects, $headers, $useragent, $force_fsockopen);
4584
                            }
4585
                            if (isset($this->headers['content-encoding']))
4586
                            {
4587
                                // Hey, we act dumb elsewhere, so let's do that here too