Tag: HttpException
-
Post Views: 15 1. URL:https://www.shuijingwanwq.com/2020/01/08/3797/, when the response status code is 404, 302, the filter method is not executed: afterAction($action, $result) , leaving a problem that needs to be analyzed and solved 2. When the response status code is 422, as shown in Figure 1 3. Check: log messages, the filter method has been executed: afterAction($action, $result), as shown in…
-
Post Views: 52 1. Yii\Web\BadRequestHttpException: status code 400. BadRequestHttpExceptions a “bad request” Http exception with status code 400. Use this exception to represent a generic client error. Describes the error. In that case, consider using the more precision exception. See also https://tools.ietf.org/html/RFC7231#Section-6.5.1. The 400 (bad request) status code indicates that the server cannot or will not process the request due…