Lines Matching refs:location
134 if ((in_array($this->status_code, [300, 301, 302, 303, 307]) || $this->status_code > 307 && $this->status_code < 400) && isset($this->headers['location']) && $this->redirects < $redirects) {
136 $location = \SimplePie\Misc::absolutize_url($this->headers['location'], $url);
138 $this->__construct($location, $timeout, $redirects, $headers, $useragent, $force_fsockopen, $curl_options);
139 $this->permanent_url = ($previousStatusCode == 301) ? $location : $url;
199 if ((in_array($this->status_code, [300, 301, 302, 303, 307]) || $this->status_code > 307 && $this->status_code < 400) && isset($this->headers['location']) && $this->redirects < $redirects) {
201 $location = \SimplePie\Misc::absolutize_url($this->headers['location'], $url);
203 $this->__construct($location, $timeout, $redirects, $headers, $useragent, $force_fsockopen, $curl_options);
204 $this->permanent_url = ($previousStatusCode == 301) ? $location : $url;