PATH:
home
/
lab2454c
/
fcxpro.com
/
wp-includes
/
Requests
/
Exception
/
HTTP
<?php /** * Exception for unknown status responses * * @package Requests */ /** * Exception for unknown status responses * * @package Requests */ class Requests_Exception_HTTP_Unknown extends Requests_Exception_HTTP { /** * HTTP status code * * @var integer|bool Code if available, false if an error occurred */ protected $code = 0; /** * Reason phrase * * @var string */ protected $reason = 'Unknown'; /** * Create a new exception * * If `$data` is an instance of {@see Requests_Response}, uses the status * code from it. Otherwise, sets as 0 * * @param string|null $reason Reason phrase * @param mixed $data Associated data */ public function __construct($reason = null, $data = null) { if ($data instanceof Requests_Response) { $this->code = $data->status_code; } parent::__construct($reason, $data); } }
[-] 418.php
[edit]
[-] 414.php
[edit]
[-] 407.php
[edit]
[-] 304.php
[edit]
[-] 405.php
[edit]
[-] 401.php
[edit]
[+]
..
[-] 415.php
[edit]
[-] 409.php
[edit]
[-] 306.php
[edit]
[-] 504.php
[edit]
[-] 403.php
[edit]
[-] 411.php
[edit]
[-] 416.php
[edit]
[-] 429.php
[edit]
[-] 428.php
[edit]
[-] 404.php
[edit]
[-] 502.php
[edit]
[-] 413.php
[edit]
[-] 412.php
[edit]
[-] 410.php
[edit]
[-] Unknown.php
[edit]
[-] 431.php
[edit]
[-] 406.php
[edit]
[-] 417.php
[edit]
[-] 400.php
[edit]
[-] 503.php
[edit]
[-] 511.php
[edit]
[-] 501.php
[edit]
[-] 500.php
[edit]
[-] 402.php
[edit]
[-] 408.php
[edit]
[-] 305.php
[edit]
[-] 505.php
[edit]