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