Skip to content

Commit

Permalink
Add 429 response code (#19245)
Browse files Browse the repository at this point in the history
* Add 429 response code

* Only set the default adapter if needed

* Revert adapter change
  • Loading branch information
JasonMortonNZ authored May 24, 2022
1 parent 9cf0ef1 commit 53c00a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/Common.php
Original file line number Diff line number Diff line change
Expand Up @@ -1137,6 +1137,7 @@ public static function sendResponseCode($code)
401 => 'Unauthorized',
403 => 'Forbidden',
404 => 'Not Found',
429 => 'Too Many Requests',
500 => 'Internal Server Error',
503 => 'Service Unavailable',
);
Expand Down

0 comments on commit 53c00a7

Please sign in to comment.