Skip to content

Commit e9cc003

Browse files
committed
Adds HTTP/2 421 status code
1 parent 2794f0e commit e9cc003

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/StatusCodeInterface.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* @see https://tools.ietf.org/html/rfc7231#section-6
2121
* @see https://tools.ietf.org/html/rfc7238#section-3
2222
* @see https://tools.ietf.org/html/rfc7725#section-3
23-
*
23+
* @see https://tools.ietf.org/html/rfc7540#section-9.1.2
2424
* Usage:
2525
*
2626
* <code>
@@ -79,6 +79,7 @@ interface StatusCodeInterface
7979
const STATUS_RANGE_NOT_SATISFIABLE = 416;
8080
const STATUS_EXPECTATION_FAILED = 417;
8181
const STATUS_IM_A_TEAPOT = 418;
82+
const STATUS_MISDIRECTED_REQUEST = 421;
8283
const STATUS_UNPROCESSABLE_ENTITY = 422;
8384
const STATUS_LOCKED = 423;
8485
const STATUS_FAILED_DEPENDENCY = 424;

0 commit comments

Comments
 (0)