PATH:
home
/
lab2454c
/
tripvare.com
/
vendor
/
teapot
/
status-code
/
src
/
RFC
<?php /** * Interface representing extended HTTP status codes for HTTP2. These codes * are represented as an interface so that developers may implement it and then * use parent::[CODE] to gain a code, or to extend the codes using * static::[CODE] and override their default description. * * This allows for codes to be repurposed in a natural way where the core, * traditional use would not be meaningful. * * PHP version 5.3 * * @category StatusCode * * @package Teapot\StatusCode\RFC * * @author Barney Hanlon <barney@shrikeh.net> * @copyright 2013-2016 B Hanlon. All rights reserved. * @license MIT http://opensource.org/licenses/MIT * * @link https://shrikeh.github.com/teapot */ namespace Teapot\StatusCode\RFC; use Teapot\StatusCode\RFC\Status\ProposedStandard; use Teapot\StatusCode\RFC\Stream\IETF as IETFStream; /** * Interface representing extended HTTP status codes for HTTP2. These codes * are represented as an interface so that developers may implement it and then * use parent::[CODE] to gain a code, or to extend the codes using * static::[CODE] and override their default description. * * This allows for codes to be repurposed in a natural way where the core, * traditional use would not be meaningful. * * PHP version 5.3 * * @category StatusCode * * @package Teapot\StatusCode\RFC * * @author Barney Hanlon <barney@shrikeh.net> * @copyright 2013-2016 B Hanlon. All rights reserved. * @license MIT http://opensource.org/licenses/MIT * * @link https://shrikeh.github.com/teapot */ interface RFC7540 extends ProposedStandard, IETFStream { /** * The 421 (Misdirected Request) status code indicates that the request was * directed at a server that is not able to produce a response. This can be * sent by a server that is not configured to produce responses for the * combination of scheme and authority that are included in the request URI. * * Clients receiving a 421 (Misdirected Request) response from a server MAY * retry the request — whether the request method is idempotent or not — * over a different connection. This is possible if a connection is reused * (Section 9.1.1) or if an alternative service is selected [ALT-SVC]. * * This status code MUST NOT be generated by proxies. * * A 421 response is cacheable by default, i.e., unless otherwise indicated * by the method definition or explicit cache controls (see Section 4.2.2 of * [RFC7234]). * * @link https://http2.github.io/http2-spec/#MisdirectedRequest * * @var int */ const MISDIRECTED_REQUEST = 421; }
[-] RFC3648.php
[edit]
[-] RFC7168.php
[edit]
[-] RFC7540.php
[edit]
[-] RFC7233.php
[edit]
[+]
..
[-] RFC2518.php
[edit]
[-] RFC7232.php
[edit]
[-] RFC2616.php
[edit]
[-] RFC2324.php
[edit]
[-] RFC5842.php
[edit]
[-] RFC7231.php
[edit]
[-] RFC6585.php
[edit]
[+]
Status
[-] RFC2774.php
[edit]
[-] RFC7235.php
[edit]
[-] PEP.php
[edit]
[-] RFC7538.php
[edit]
[+]
Stream
[-] RFC7725.php
[edit]
[-] RFC2817.php
[edit]
[-] RFC7234.php
[edit]
[-] RFC2295.php
[edit]
[-] RFC2326.php
[edit]
[-] RFC3229.php
[edit]
[-] RFC4918.php
[edit]