mirror of
https://github.com/actix/actix-web.git
synced 2025-04-10 20:04:05 +00:00
Add builder function for HTTP 429 Too Many Requests status
This commit is contained in:
parent
47fab0e393
commit
f4c1723277
1 changed files with 1 additions and 0 deletions
|
@ -61,6 +61,7 @@ impl Response {
|
|||
STATIC_RESP!(RangeNotSatisfiable, StatusCode::RANGE_NOT_SATISFIABLE);
|
||||
STATIC_RESP!(ExpectationFailed, StatusCode::EXPECTATION_FAILED);
|
||||
STATIC_RESP!(UnprocessableEntity, StatusCode::UNPROCESSABLE_ENTITY);
|
||||
STATIC_RESP!(TooManyRequests, StatusCode::TOO_MANY_REQUESTS);
|
||||
|
||||
STATIC_RESP!(InternalServerError, StatusCode::INTERNAL_SERVER_ERROR);
|
||||
STATIC_RESP!(NotImplemented, StatusCode::NOT_IMPLEMENTED);
|
||||
|
|
Loading…
Reference in a new issue