示例#1
0
 /**
  * Follow redirects from the last response.
  *
  * @return $this
  */
 protected function followRedirects()
 {
     while ($this->response->isRedirect()) {
         $this->makeRequest('GET', $this->response->getTargetUrl());
     }
     return $this;
 }