You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/StatusCode/index.ts
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -74,31 +74,31 @@ export enum StatusCode {
74
74
*/
75
75
IM_USED=226,
76
76
/**
77
-
* @description- @
77
+
* @descriptionThe request has more than one possible response.
78
78
*/
79
79
MULTIPLE_CHOICES=300,
80
80
/**
81
-
* @description- @
81
+
* @descriptionThe URL of the requested resource has been changed permanently. The new URL is given in the response.
82
82
*/
83
83
MOVED_PERMANENTLY=301,
84
84
/**
85
-
* @description- @
85
+
* @descriptionThis response code means that the URI of requested resource has been changed temporarily. Further changes in the URI might be made in the future. Therefore, this same URI should be used by the client in future requests.
86
86
*/
87
87
FOUND=302,
88
88
/**
89
-
* @description- @
89
+
* @descriptionThe server sent this response to direct the client to get the requested resource at another URI with a GET request.
90
90
*/
91
91
SEE_OTHER=303,
92
92
/**
93
-
* @description- @
93
+
* @descriptionThis is used for caching purposes. It tells the client that the response has not been modified, so the client can continue to use the same cached version of the response.
94
94
*/
95
95
NOT_MODIFIED=304,
96
96
/**
97
-
* @description- @
97
+
* @descriptionThe server sends this response to direct the client to get the requested resource at another URI with same method that was used in the prior request.
98
98
*/
99
99
TEMPORARY_REDIRECT=307,
100
100
/**
101
-
* @description- @
101
+
* @descriptionThis means that the resource is now permanently located at another URI, specified by the Location: HTTP Response header. This has the same semantics as the 301 Moved Permanently HTTP response code, with the exception that the user agent must not change the HTTP method used: if a POST was used in the first request, a POST must be used in the second request.
IM_USED="The server has fulfilled a GET request for the resource, and the response is a representation of the result of one or more instance-manipulations applied to the current instance.",
64
64
/**
65
-
* @description - StatusCode =
65
+
* @description - StatusCode = 300
66
66
*/
67
-
MULTIPLE_CHOICES="The request has more than one possible response. The user agent or user should choose one of them. (There is no standardized way of choosing one of the responses, but HTML links to the possibilities are recommended so the user can pick.)",
67
+
MULTIPLE_CHOICES="The request has more than one possible response.",
68
68
/**
69
-
* @description - StatusCode =
69
+
* @description - StatusCode = 301
70
70
*/
71
71
MOVED_PERMANENTLY="The URL of the requested resource has been changed permanently. The new URL is given in the response.",
72
72
/**
73
-
* @description - StatusCode =
73
+
* @description - StatusCode = 302
74
74
*/
75
75
FOUND="This response code means that the URI of requested resource has been changed temporarily. Further changes in the URI might be made in the future. Therefore, this same URI should be used by the client in future requests.",
76
76
/**
77
-
* @description - StatusCode =
77
+
* @description - StatusCode = 303
78
78
*/
79
79
SEE_OTHER="The server sent this response to direct the client to get the requested resource at another URI with a GET request.",
80
80
/**
81
-
* @description - StatusCode =
81
+
* @description - StatusCode = 304
82
82
*/
83
83
NOT_MODIFIED="This is used for caching purposes. It tells the client that the response has not been modified, so the client can continue to use the same cached version of the response.",
84
84
/**
85
-
* @description - StatusCode =
85
+
* @description - StatusCode = 307
86
86
*/
87
-
TEMPORARY_REDIRECT="The server sends this response to direct the client to get the requested resource at another URI with same method that was used in the prior request. This has the same semantics as the 302 Found HTTP response code, with the exception that the user agent must not change the HTTP method used: if a POST was used in the first request, a POST must be used in the second request.",
87
+
TEMPORARY_REDIRECT="The server sends this response to direct the client to get the requested resource at another URI with same method that was used in the prior request.",
88
88
/**
89
-
* @description - StatusCode =
89
+
* @description - StatusCode = 308
90
90
*/
91
91
PERMANENT_REDIRECT="This means that the resource is now permanently located at another URI, specified by the Location: HTTP Response header. This has the same semantics as the 301 Moved Permanently HTTP response code, with the exception that the user agent must not change the HTTP method used: if a POST was used in the first request, a POST must be used in the second request.",
0 commit comments