mirror of
https://github.com/axios/axios.git
synced 2026-04-11 14:21:59 +08:00
chore: add missing Cloudflare HTTP status codes (#7117)
Co-authored-by: Jay <jasonsaayman@gmail.com>
This commit is contained in:
parent
6306657396
commit
f4970f35b8
@ -62,6 +62,12 @@ const HttpStatusCode = {
|
||||
LoopDetected: 508,
|
||||
NotExtended: 510,
|
||||
NetworkAuthenticationRequired: 511,
|
||||
WebServerIsDown: 521,
|
||||
ConnectionTimedOut: 522,
|
||||
OriginIsUnreachable: 523,
|
||||
TimeoutOccurred: 524,
|
||||
SslHandshakeFailed: 525,
|
||||
InvalidSslCertificate: 526,
|
||||
};
|
||||
|
||||
Object.entries(HttpStatusCode).forEach(([key, value]) => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user