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

Adding support for 426 and 451 HTTP codes. #227

Merged
merged 1 commit into from
Jul 8, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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