Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
Adding support for 426 and 451 HTTP codes. (#227)
Browse files Browse the repository at this point in the history
  • Loading branch information
erunion authored Jul 8, 2019
1 parent eebb71d commit 80528e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/api-explorer/src/lib/statuscodes.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,11 @@ module.exports = function statusCodes(code) {
420: [420, 'Enhance Your Calm', 'error'],
422: [422, 'Unprocessable Entity', 'error'],
423: [423, 'Locked', 'error'],
426: [426, 'Upgrade Required', 'error'],
428: [428, 'Precondition Required', 'error'],
429: [429, 'Too Many Requests', 'error'],
431: [431, 'Request Header Fields Too Large', 'error'],
451: [451, 'Unavailable For Legal Reasons', 'error'],
500: [500, 'Internal Server Error', 'error'],
501: [501, 'Not Implemented', 'error'],
502: [502, 'Bad Gateway', 'error'],
Expand Down

0 comments on commit 80528e3

Please sign in to comment.