Skip to content

Commit

Permalink
feat: add statuses 521, 523, 525 (#119)
Browse files Browse the repository at this point in the history
These are cloudflare-specific status codes.
Wikipedia covers their descriptions pretty well-
https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#Cloudflare

Resolves #100, #93

Co-authored-by: Kian <kian@kian>
  • Loading branch information
fafrd and Kian authored Jul 26, 2021
1 parent 22a6a2a commit de9d59c
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 0 deletions.
Binary file added public/images-original/521.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images-original/523.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images-original/525.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/521.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/523.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/525.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/lib/statuses.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ const statuses = {
509: { code: 509, message: 'Bandwidth Limit Exceeded' },
510: { code: 510, message: 'Not Extended' },
511: { code: 511, message: 'Network Authentication Required' },
521: { code: 521, message: 'Web Server Is Down' },
523: { code: 523, message: 'Origin Is Unreachable' },
525: { code: 525, message: 'SSL Handshake Failed' },
599: { code: 599, message: 'Network Connect Timeout Error' }
}

Expand Down

0 comments on commit de9d59c

Please sign in to comment.