SYSPATH/classes/kohana/request/client/curl.php [ 70 ]
65
66 curl_close($curl);
67
68 if (isset($error))
69 {
70 throw new Request_Exception('Error fetching remote :url [ status :code ] :error',
71 array(':url' => $request->url(), ':code' => $code, ':error' => $error));
72 }
73
74 $response->status($code)
75 ->body($body);
-
SYSPATH/classes/kohana/request/client/external.php [ 61 ] » Kohana_Request_Client_Curl->_send_message(arguments)
0
object Request(46)
{ public internal => bool TRUE public bloqueio => bool FALSE public css => array(0) public css_ie6 => array(0) public cssremover => array(0) public js => array(0) public js_ie6 => array(0) public jsremover => array(0) public titulo => string(0) "" public metakeys => string(0) "" public metadescription => string(0) "" public author => string(0) "" public revisit => string(0) "" public canonical => string(0) "" public imagem => string(0) "" public robots_index => bool TRUE public robots_follow => bool TRUE public doctype => string(5) "xhtml" public xmlns => string(0) "" public head_extra => string(0) "" public inicio => string(0) "" public extra => string(0) "" public dados => array(0) public bread => array(1) ( "Início" => string(0) "" ) public area => string(0) "" public icone => array(0) public icone_iphone => string(0) "" protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(179) "noticias/detalhe/praianos-vence-luziense-e-e-lider-da-chave-a-do-suico-masterhttp://boladovale.com.br/noticias/detalhe/praianos- …" protected _regex => array(0) protected _defaults => array(2) ( "action" => string(5) "index" "host" => bool FALSE ) protected _route_regex => string(187) "#^noticias/detalhe/praianos-vence-luziense-e-e-lider-da-chave-a-do-suico-masterhttp://boladovale\.com\.br/noticias/detalhe/praia …" }
protected _routes => array(0) protected _header => object HTTP_Header(12){ public host => string(17) "boladovale.com.br" public connection => string(5) "close" public accept-encoding => string(4) "gzip" public x-forwarded-for => string(13) "107.22.56.225" public cf-ray => string(20) "86bd5a63587e3b23-EWR" public x-forwarded-proto => string(4) "http" public cf-visitor => string(17) "{"scheme":"http"}" public accept => string(3) "*/*" public user-agent => string(9) "claudebot" public cf-connecting-ip => string(13) "107.22.56.225" public cdn-loop => string(10) "cloudflare" public cf-ipcountry => string(2) "US" }
protected _body => NULL protected _directory => string(0) "" protected _controller => NULL protected _action => NULL protected _uri => string(179) "noticias/detalhe/praianos-vence-luziense-e-e-lider-da-chave-a-do-suico-masterhttp://boladovale.com.br/noticias/detalhe/praianos- …" protected _external => bool TRUE protected _params => array(0) protected _get => array(1) ( "kohana_uri" => string(178) "noticias/detalhe/praianos-vence-luziense-e-e-lider-da-chave-a-do-suico-masterhttp:/boladovale.com.br/noticias/detalhe/praianos-v …" ) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Curl(9){ protected _options => array(2) ( 19913 => bool TRUE 42 => bool FALSE ) protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "Authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}1
object Response(5)
{ protected _status => integer 200 protected _header => object HTTP_Header(0)
{ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }56 $request->headers('user-agent', Kohana::version()); 57 } 58 59 try 60 { 61 $response = $this->_send_message($request, $response); 62 } 63 catch (Exception $e) 64 { 65 Request::$current = $previous; 66
-
SYSPATH/classes/kohana/request/client.php [ 60 ] » Kohana_Request_Client_External->execute_request(arguments)
0
object Request(46)
{ public internal => bool TRUE public bloqueio => bool FALSE public css => array(0) public css_ie6 => array(0) public cssremover => array(0) public js => array(0) public js_ie6 => array(0) public jsremover => array(0) public titulo => string(0) "" public metakeys => string(0) "" public metadescription => string(0) "" public author => string(0) "" public revisit => string(0) "" public canonical => string(0) "" public imagem => string(0) "" public robots_index => bool TRUE public robots_follow => bool TRUE public doctype => string(5) "xhtml" public xmlns => string(0) "" public head_extra => string(0) "" public inicio => string(0) "" public extra => string(0) "" public dados => array(0) public bread => array(1) ( "Início" => string(0) "" ) public area => string(0) "" public icone => array(0) public icone_iphone => string(0) "" protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(179) "noticias/detalhe/praianos-vence-luziense-e-e-lider-da-chave-a-do-suico-masterhttp://boladovale.com.br/noticias/detalhe/praianos- …" protected _regex => array(0) protected _defaults => array(2) ( "action" => string(5) "index" "host" => bool FALSE ) protected _route_regex => string(187) "#^noticias/detalhe/praianos-vence-luziense-e-e-lider-da-chave-a-do-suico-masterhttp://boladovale\.com\.br/noticias/detalhe/praia …" }
protected _routes => array(0) protected _header => object HTTP_Header(12){ public host => string(17) "boladovale.com.br" public connection => string(5) "close" public accept-encoding => string(4) "gzip" public x-forwarded-for => string(13) "107.22.56.225" public cf-ray => string(20) "86bd5a63587e3b23-EWR" public x-forwarded-proto => string(4) "http" public cf-visitor => string(17) "{"scheme":"http"}" public accept => string(3) "*/*" public user-agent => string(9) "claudebot" public cf-connecting-ip => string(13) "107.22.56.225" public cdn-loop => string(10) "cloudflare" public cf-ipcountry => string(2) "US" }
protected _body => NULL protected _directory => string(0) "" protected _controller => NULL protected _action => NULL protected _uri => string(179) "noticias/detalhe/praianos-vence-luziense-e-e-lider-da-chave-a-do-suico-masterhttp://boladovale.com.br/noticias/detalhe/praianos- …" protected _external => bool TRUE protected _params => array(0) protected _get => array(1) ( "kohana_uri" => string(178) "noticias/detalhe/praianos-vence-luziense-e-e-lider-da-chave-a-do-suico-masterhttp:/boladovale.com.br/noticias/detalhe/praianos-v …" ) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Curl(9){ protected _options => array(2) ( 19913 => bool TRUE 42 => bool FALSE ) protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "Authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}1
object Response(5)
{ protected _status => integer 200 protected _header => object HTTP_Header(0)
{ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }55 $orig_response = $response = Response::factory(array('_protocol' => $request->protocol())); 56 57 if (($cache = $this->cache()) instanceof HTTP_Cache) 58 return $cache->execute($this, $request, $response); 59 60 $response = $this->execute_request($request, $response); 61 62 foreach ($this->header_callbacks() as $header => $callback) 63 { 64 if ($response->headers($header)) 65 {
-
SYSPATH/classes/kohana/request.php [ 614 ] » Kohana_Request_Client->execute(arguments)
0
object Request(46)
{ public internal => bool TRUE public bloqueio => bool FALSE public css => array(0) public css_ie6 => array(0) public cssremover => array(0) public js => array(0) public js_ie6 => array(0) public jsremover => array(0) public titulo => string(0) "" public metakeys => string(0) "" public metadescription => string(0) "" public author => string(0) "" public revisit => string(0) "" public canonical => string(0) "" public imagem => string(0) "" public robots_index => bool TRUE public robots_follow => bool TRUE public doctype => string(5) "xhtml" public xmlns => string(0) "" public head_extra => string(0) "" public inicio => string(0) "" public extra => string(0) "" public dados => array(0) public bread => array(1) ( "Início" => string(0) "" ) public area => string(0) "" public icone => array(0) public icone_iphone => string(0) "" protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(179) "noticias/detalhe/praianos-vence-luziense-e-e-lider-da-chave-a-do-suico-masterhttp://boladovale.com.br/noticias/detalhe/praianos- …" protected _regex => array(0) protected _defaults => array(2) ( "action" => string(5) "index" "host" => bool FALSE ) protected _route_regex => string(187) "#^noticias/detalhe/praianos-vence-luziense-e-e-lider-da-chave-a-do-suico-masterhttp://boladovale\.com\.br/noticias/detalhe/praia …" }
protected _routes => array(0) protected _header => object HTTP_Header(12){ public host => string(17) "boladovale.com.br" public connection => string(5) "close" public accept-encoding => string(4) "gzip" public x-forwarded-for => string(13) "107.22.56.225" public cf-ray => string(20) "86bd5a63587e3b23-EWR" public x-forwarded-proto => string(4) "http" public cf-visitor => string(17) "{"scheme":"http"}" public accept => string(3) "*/*" public user-agent => string(9) "claudebot" public cf-connecting-ip => string(13) "107.22.56.225" public cdn-loop => string(10) "cloudflare" public cf-ipcountry => string(2) "US" }
protected _body => NULL protected _directory => string(0) "" protected _controller => NULL protected _action => NULL protected _uri => string(179) "noticias/detalhe/praianos-vence-luziense-e-e-lider-da-chave-a-do-suico-masterhttp://boladovale.com.br/noticias/detalhe/praianos- …" protected _external => bool TRUE protected _params => array(0) protected _get => array(1) ( "kohana_uri" => string(178) "noticias/detalhe/praianos-vence-luziense-e-e-lider-da-chave-a-do-suico-masterhttp:/boladovale.com.br/noticias/detalhe/praianos-v …" ) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Curl(9){ protected _options => array(2) ( 19913 => bool TRUE 42 => bool FALSE ) protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "Authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}609 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 610 ':uri' => $this->_uri, 611 )); 612 } 613 614 return $this->_client->execute($this); 615 } 616 617 618 public function is_initial() 619 {
-
DOCROOT/index.php [ 132 ] » Kohana_Request->execute()
127 ->execute() 128 ->send_headers(TRUE) 129 ->body(); 130 } else { 131 echo Request::factory() 132 ->execute() 133 ->send_headers(TRUE) 134 ->body(); 135 }