Skip to content

Commit a719a05

Browse files
committed
logStatusMessage.ts updated
1 parent 36c33eb commit a719a05

File tree

1 file changed

+44
-44
lines changed

1 file changed

+44
-44
lines changed

src/longStatusMessages.ts

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -3,45 +3,45 @@
33

44
export const LongStatusMessages = {
55
// --- 1xx: Informational ---
6-
100: 'Request received, continue to send the rest of the request.',
7-
101: 'Protocol switch initiated as requested by the client.',
8-
102: 'Request accepted, processing is ongoing.',
9-
103: 'Preliminary headers sent before the final response.',
6+
100: 'Continue. Request received, continue to send the rest of the request.',
7+
101: 'Switching Protocols. Protocol switch initiated as requested by the client.',
8+
102: 'Processing. Request accepted, processing is ongoing without final response yet.',
9+
103: 'Early Hints. Preliminary headers sent before the final response.',
1010

1111
// --- 2xx: Success ---
12-
200: 'The request was successful.',
13-
201: 'The resource was created successfully.',
14-
202: 'The request has been accepted but not yet processed.',
15-
203: 'Returned metadata may be from a local or third-party copy.',
16-
204: 'The request was successful but there is no content to send.',
17-
205: 'The client should reset the document view.',
18-
206: 'The server is returning part of the resource due to a range header.',
19-
207: 'Multiple statuses for different parts of a WebDAV request.',
20-
208: 'The members of a DAV binding have already been reported.',
21-
226: 'The server has fulfilled a GET request using instance manipulation.',
12+
200: 'OK. The request was successful and the response contains the result.',
13+
201: 'Created. The request was successful and a new resource has been created.',
14+
202: 'Accepted. The request has been received but not yet acted upon.',
15+
203: 'Non-Authoritative Information. Metadata may come from a local or third-party copy.',
16+
204: 'No Content. The request was successful, but there is no content to return.',
17+
205: 'Reset Content. The client should reset the document view after receiving this response.',
18+
206: 'Partial Content. The server is returning only part of the resource due to a range header.',
19+
207: 'Multi-Status. Contains status for multiple independent operations (WebDAV).',
20+
208: 'Already Reported. Elements have already been reported in a previous response (WebDAV).',
21+
226: 'IM Used. GET request fulfilled with a response based on instance manipulations (Delta encoding).',
2222

2323
// --- 3xx: Redirection ---
24-
300: 'Multiple options available for the requested resource.',
25-
301: 'Resource has been permanently moved to a new URL.',
26-
302: 'Resource temporarily found at a different URL.',
27-
303: 'Redirect to a different URL using GET method.',
28-
304: 'Resource not modified since last request; use cached version.',
29-
305: 'Request must use the specified proxy to access the resource.',
30-
307: 'Temporary redirect; request should be repeated with same method.',
31-
308: 'Permanent redirect; request should be repeated with same method.',
24+
300: 'Multiple Choices. Multiple options are available for the requested resource.',
25+
301: 'Moved Permanently. The resource has been permanently moved to a new URL.',
26+
302: 'Found. The resource is temporarily located at a different URL.',
27+
303: 'See Other. Redirect the client to a different URL using the GET method.',
28+
304: 'Not Modified. The resource has not changed since the last request; use cached version.',
29+
305: 'Use Proxy. Access to the resource must be made through the specified proxy.',
30+
307: 'Temporary Redirect. The resource resides temporarily under a different URI using the same method.',
31+
308: 'Permanent Redirect. The resource is permanently located at a different URI using the same method.',
3232

3333
// --- 4xx: Client Errors ---
34-
400: 'The server could not understand the request due to invalid syntax.',
35-
401: 'Authentication is required and has failed or not yet been provided.',
36-
402: 'Payment is required to access the requested resource.',
37-
403: 'The client does not have access rights to the content.',
38-
404: 'The server cannot find the requested resource.',
39-
405: 'The request method is known but is not supported by the resource.',
40-
406: 'The requested resource is not available in a format acceptable to the client.',
41-
407: 'Client must first authenticate itself with the proxy.',
42-
408: 'The server timed out waiting for the request.',
43-
409: 'The request conflicts with the current state of the resource.',
44-
410: 'The resource requested is no longer available and will not be available again.',
34+
400: 'Bad Request. The server could not understand the request due to malformed syntax.',
35+
401: 'Unauthorized. Authentication is required and has either failed or not been provided.',
36+
402: 'Payment Required. Payment is required to access the requested resource.',
37+
403: 'Forbidden. The client is authenticated but does not have access rights to the content.',
38+
404: 'Not Found. The server cannot locate the requested resource.',
39+
405: 'Method Not Allowed. The request method is recognized but not supported by the target resource.',
40+
406: 'Not Acceptable. The requested resource is not available in a format acceptable to the client.',
41+
407: 'Proxy Authentication Required. The client must authenticate itself with the proxy first.',
42+
408: 'Request Timeout. The server timed out waiting for the client’s request.',
43+
409: 'Conflict. The request could not be completed due to a conflict with the current state of the resource.',
44+
410: 'Gone. The requested resource is no longer available and has been permanently removed.',
4545
411: 'The request did not specify the length of its content.',
4646
412: 'The server does not meet one of the preconditions specified by the client.',
4747
413: 'The request payload is larger than the server is willing or able to process.',
@@ -62,17 +62,17 @@ export const LongStatusMessages = {
6262
451: 'Access to the resource is denied for legal reasons.',
6363

6464
// --- 5xx: Server Errors ---
65-
500: 'The server encountered an unexpected internal error.',
66-
501: 'The server does not support the requested feature.',
67-
502: 'Received an invalid response from the upstream server.',
68-
503: 'The server is currently unavailable or overloaded.',
69-
504: 'The gateway timed out while waiting for a response.',
70-
505: 'The HTTP version used is not supported by the server.',
71-
506: 'Content negotiation failed due to a server issue.',
72-
507: 'The server is unable to store the representation needed.',
73-
508: 'The server detected an infinite loop while processing.',
74-
510: 'Further extensions are required to complete the request.',
75-
511: 'Network authentication is required to access this resource.',
65+
500: 'Internal Server Error. The server encountered an unexpected condition that prevented it from fulfilling the request.',
66+
501: 'Not Implemented. The server does not support the functionality required to fulfill the request.',
67+
502: 'Bad Gateway. The server received an invalid response from an upstream server while acting as a gateway or proxy.',
68+
503: 'Service Unavailable. The server is currently unable to handle the request due to maintenance or overload.',
69+
504: 'Gateway Timeout. The server, acting as a gateway or proxy, did not receive a timely response from the upstream server.',
70+
505: 'HTTP Version Not Supported. The server does not support the HTTP protocol version used in the request.',
71+
506: 'Variant Also Negotiates. The server encountered an internal configuration error while negotiating content.',
72+
507: 'Insufficient Storage. The server cannot store the representation needed to complete the request.',
73+
508: 'Loop Detected. The server terminated the request because it detected an infinite loop in processing.',
74+
510: 'Not Extended. Further extensions are required for the server to fulfill the request.',
75+
511: 'Network Authentication Required. The client must authenticate to gain network access.',
7676

7777
// Unofficial
7878
419: 'Page expired due to missing or invalid CSRF token.',

0 commit comments

Comments
 (0)