protected function followRedirects() { while ($this->response->isRedirect()) { $this->makeRequest('GET', $this->response->getTargetUrl()); } return $this; }