Add missing HTTP status code descriptions (specifically 308 and 421.)
Props kraftbj. Fixes 35336. git-svn-id: https://develop.svn.wordpress.org/trunk@36274 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9a93e87d37
commit
b9e083e360
@ -994,6 +994,7 @@ function get_status_header_desc( $code ) {
|
||||
305 => 'Use Proxy',
|
||||
306 => 'Reserved',
|
||||
307 => 'Temporary Redirect',
|
||||
308 => 'Permanent Redirect',
|
||||
|
||||
400 => 'Bad Request',
|
||||
401 => 'Unauthorized',
|
||||
@ -1014,6 +1015,7 @@ function get_status_header_desc( $code ) {
|
||||
416 => 'Requested Range Not Satisfiable',
|
||||
417 => 'Expectation Failed',
|
||||
418 => 'I\'m a teapot',
|
||||
421 => 'Misdirected Request',
|
||||
422 => 'Unprocessable Entity',
|
||||
423 => 'Locked',
|
||||
424 => 'Failed Dependency',
|
||||
|
Loading…
Reference in New Issue
Block a user