@@ -44,15 +44,17 @@ class Response implements ResponseInterface
4444 206 => 'Partial Content ' ,
4545 207 => 'Multi-status ' ,
4646 208 => 'Already Reported ' ,
47+ 226 => 'IM used ' ,
4748 // REDIRECTION CODES
4849 300 => 'Multiple Choices ' ,
4950 301 => 'Moved Permanently ' ,
5051 302 => 'Found ' ,
5152 303 => 'See Other ' ,
5253 304 => 'Not Modified ' ,
5354 305 => 'Use Proxy ' ,
54- 306 => 'Switch Proxy ' , // Deprecated
55+ 306 => 'Switch Proxy ' , // Deprecated to 306 => '(Unused)'
5556 307 => 'Temporary Redirect ' ,
57+ 308 => 'Permanent Redirect ' ,
5658 // CLIENT ERROR
5759 400 => 'Bad Request ' ,
5860 401 => 'Unauthorized ' ,
@@ -73,6 +75,7 @@ class Response implements ResponseInterface
7375 416 => 'Requested range not satisfiable ' ,
7476 417 => 'Expectation Failed ' ,
7577 418 => 'I \'m a teapot ' ,
78+ 421 => 'Misdirected Request ' ,
7679 422 => 'Unprocessable Entity ' ,
7780 423 => 'Locked ' ,
7881 424 => 'Failed Dependency ' ,
@@ -81,8 +84,10 @@ class Response implements ResponseInterface
8184 428 => 'Precondition Required ' ,
8285 429 => 'Too Many Requests ' ,
8386 431 => 'Request Header Fields Too Large ' ,
87+ 444 => 'Connection Closed Without Response ' ,
8488 451 => 'Unavailable For Legal Reasons ' ,
8589 // SERVER ERROR
90+ 499 => 'Client Closed Request ' ,
8691 500 => 'Internal Server Error ' ,
8792 501 => 'Not Implemented ' ,
8893 502 => 'Bad Gateway ' ,
@@ -92,7 +97,9 @@ class Response implements ResponseInterface
9297 506 => 'Variant Also Negotiates ' ,
9398 507 => 'Insufficient Storage ' ,
9499 508 => 'Loop Detected ' ,
100+ 510 => 'Not Extended ' ,
95101 511 => 'Network Authentication Required ' ,
102+ 599 => 'Network Connect Timeout Error ' ,
96103 ];
97104
98105 /**
0 commit comments