ВУЗ: Не указан
Категория: Не указан
Дисциплина: Не указана
Добавлен: 02.01.2026
Просмотров: 2696
Скачиваний: 0
47.1. HTTP EXCEPTIONS
•410 - HTTPGone
•411 - HTTPLengthRequired
•412 - HTTPPreconditionFailed
•413 - HTTPRequestEntityTooLarge
•414 - HTTPRequestURITooLong
•415 - HTTPUnsupportedMediaType
•416 - HTTPRequestRangeNotSatisfiable
•417 - HTTPExpectationFailed
•422 - HTTPUnprocessableEntity
•423 - HTTPLocked
•424 - HTTPFailedDependency
HTTPServerError
•500 - HTTPInternalServerError
•501 - HTTPNotImplemented
•502 - HTTPBadGateway
•503 - HTTPServiceUnavailable
•504 - HTTPGatewayTimeout
•505 - HTTPVersionNotSupported
•507 - HTTPInsufficientStorage
HTTP exceptions are also response objects, thus they accept most of the same parameters that can be passed to a regular Response. Each HTTP exception also has the following attributes:
code the HTTP status code for the exception
title remainder of the status line (stuff after the code)
571