mirror of
https://github.com/yiisoft/yii2.git
synced 2026-03-05 06:54:39 +01:00
Adds docblock comments and HTTP spec links for the new HTTP Exception classes (#2103)
This commit is contained in:
@@ -8,8 +8,13 @@
|
||||
namespace yii\web;
|
||||
|
||||
/**
|
||||
* NotAcceptableHttpException represents a "Not Acceptable" HTTP exception with status code 406.
|
||||
* NotAcceptableHttpException represents a "Not Acceptable" HTTP exception with status code 406
|
||||
*
|
||||
* Use this exception when the client requests a Content-Type that your
|
||||
* application cannot return. Note that, according to the HTTP 1.1 specification,
|
||||
* you are not required to respond with this status code in this situation.
|
||||
*
|
||||
* @link http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.7
|
||||
* @author Dan Schmidt <danschmidt5189@gmail.com>
|
||||
* @since 2.0
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user