PATH:
home
/
sarkas88.com
/
public_html
/
wp-includes
/
Requests
/
src
/
Exception
/
Http
<?php /** * Exception for unknown status responses * * @package Requests\Exceptions */ namespace WpOrg\Requests\Exception\Http; use WpOrg\Requests\Exception\Http; use WpOrg\Requests\Response; /** * Exception for unknown status responses * * @package Requests\Exceptions */ final class StatusUnknown extends 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 \WpOrg\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 Response) { $this->code = (int) $data->status_code; } parent::__construct($reason, $data); } }
[-] Status429.php
[open]
[-] Status401.php
[open]
[-] Status410.php
[open]
[-] Status402.php
[open]
[-] Status417.php
[open]
[-] Status400.php
[open]
[-] Status412.php
[open]
[-] Status431.php
[open]
[-] Status503.php
[open]
[-] Status502.php
[open]
[-] Status428.php
[open]
[-] Status416.php
[open]
[-] Status403.php
[open]
[-] Status306.php
[open]
[-] Status414.php
[open]
[-] Status408.php
[open]
[-] Status411.php
[open]
[-] Status305.php
[open]
[-] Status415.php
[open]
[-] StatusUnknown.php
[open]
[-] Status504.php
[open]
[-] Status501.php
[open]
[-] Status413.php
[open]
[-] Status407.php
[open]
[-] Status406.php
[open]
[-] Status409.php
[open]
[-] Status404.php
[open]
[-] Status500.php
[open]
[+]
..
[-] Status511.php
[open]
[-] Status505.php
[open]
[-] Status405.php
[open]
[-] Status418.php
[open]
[-] Status304.php
[open]