Browse Source

Fixes #11432: Added HTTP status 421 "Misdirected Request" to list of statuses in `yii\web\Response`

Source: http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml
ar-bug
dasmfm 9 years ago committed by Alexander Makarov
parent
commit
91734ae83b
  1. 1
      framework/CHANGELOG.md
  2. 1
      framework/web/Response.php

1
framework/CHANGELOG.md

@ -6,6 +6,7 @@ Yii Framework 2 Change Log
- Bug #11459: Fixed flash messages not destroyed when `session.auto_start = 1` set in php.ini (cartmanchen)
- Enh #11414: Files specified as `null` in `yii\web\AssetBundle` won't be registered (Razzwan)
- Eng #11432: Added HTTP status 421 "Misdirected Request" to list of statuses in `yii\web\Response` (dasmfm)
2.0.8 April 28, 2016

1
framework/web/Response.php

@ -204,6 +204,7 @@ class Response extends \yii\base\Response
416 => 'Requested range unsatisfiable',
417 => 'Expectation failed',
418 => 'I\'m a teapot',
421 => 'Misdirected Request',
422 => 'Unprocessable entity',
423 => 'Locked',
424 => 'Method failure',

Loading…
Cancel
Save