fix(core): update
This commit is contained in:
@@ -5,7 +5,7 @@ export class Status400 extends HttpStatus {
|
||||
super({
|
||||
code: 400,
|
||||
text: 'Bad Request',
|
||||
description: `The server cannot or will not process the request due to an apparent client error (e.g., malformed request syntax, too large size, invalid request message framing, or deceptive request routing).`
|
||||
description: `The server cannot or will not process the request due to an apparent client error (e.g., malformed request syntax, too large size, invalid request message framing, or deceptive request routing).`,
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -18,7 +18,7 @@ export class Status401 extends HttpStatus {
|
||||
code: 401,
|
||||
text: 'Unauthorized',
|
||||
description: `Similar to 403 Forbidden, but specifically for use when authentication is required and has failed or has not yet been provided. The response must include a WWW-Authenticate header field containing a challenge applicable to the requested resource. See Basic access authentication and Digest access authentication.[32] 401 semantically means "unauthenticated",[33] i.e. the user does not have the necessary credentials.
|
||||
Note: Some sites issue HTTP 401 when an IP address is banned from the website (usually the website domain) and that specific address is refused permission to access a website.`
|
||||
Note: Some sites issue HTTP 401 when an IP address is banned from the website (usually the website domain) and that specific address is refused permission to access a website.`,
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -30,7 +30,7 @@ export class Status402 extends HttpStatus {
|
||||
super({
|
||||
code: 402,
|
||||
text: 'Payment Required',
|
||||
description: `The request was valid, but the server is refusing action. The user might not have the necessary permissions for a resource.`
|
||||
description: `The request was valid, but the server is refusing action. The user might not have the necessary permissions for a resource.`,
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -42,7 +42,7 @@ export class Status403 extends HttpStatus {
|
||||
super({
|
||||
code: 403,
|
||||
text: 'Forbidden',
|
||||
description: `The request was valid, but the server is refusing action. The user might not have the necessary permissions for a resource.`
|
||||
description: `The request was valid, but the server is refusing action. The user might not have the necessary permissions for a resource.`,
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -54,7 +54,7 @@ export class Status404 extends HttpStatus {
|
||||
super({
|
||||
code: 404,
|
||||
text: 'Not Found',
|
||||
description: `The requested resource could not be found but may be available in the future. Subsequent requests by the client are permissible.`
|
||||
description: `The requested resource could not be found but may be available in the future. Subsequent requests by the client are permissible.`,
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -66,7 +66,7 @@ export class Status429 extends HttpStatus {
|
||||
super({
|
||||
code: 429,
|
||||
text: 'Too Many Requests',
|
||||
description: `The user has sent too many requests in a given amount of time. Intended for use with rate-limiting schemes.`
|
||||
description: `The user has sent too many requests in a given amount of time. Intended for use with rate-limiting schemes.`,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user