nextemos 5.1.0 → 5.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -61,3 +61,10 @@ export declare enum HttpStatusCode {
|
|
|
61
61
|
NOT_EXTENDED = 510,
|
|
62
62
|
NETWORK_AUTHENTICATION_REQUIRED = 511
|
|
63
63
|
}
|
|
64
|
+
export declare enum HttpStatusCodeString {
|
|
65
|
+
MovedPermanently = 301,
|
|
66
|
+
Found = 302,
|
|
67
|
+
SeeOther = 303,
|
|
68
|
+
RedirectKeepVerb = 307,
|
|
69
|
+
PermanentRedirect = 308
|
|
70
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.HttpStatusCode = void 0;
|
|
3
|
+
exports.HttpStatusCodeString = exports.HttpStatusCode = void 0;
|
|
4
4
|
var HttpStatusCode;
|
|
5
5
|
(function (HttpStatusCode) {
|
|
6
6
|
HttpStatusCode[HttpStatusCode["CONTINUE"] = 100] = "CONTINUE";
|
|
@@ -65,3 +65,11 @@ var HttpStatusCode;
|
|
|
65
65
|
HttpStatusCode[HttpStatusCode["NOT_EXTENDED"] = 510] = "NOT_EXTENDED";
|
|
66
66
|
HttpStatusCode[HttpStatusCode["NETWORK_AUTHENTICATION_REQUIRED"] = 511] = "NETWORK_AUTHENTICATION_REQUIRED";
|
|
67
67
|
})(HttpStatusCode || (exports.HttpStatusCode = HttpStatusCode = {}));
|
|
68
|
+
var HttpStatusCodeString;
|
|
69
|
+
(function (HttpStatusCodeString) {
|
|
70
|
+
HttpStatusCodeString[HttpStatusCodeString["MovedPermanently"] = 301] = "MovedPermanently";
|
|
71
|
+
HttpStatusCodeString[HttpStatusCodeString["Found"] = 302] = "Found";
|
|
72
|
+
HttpStatusCodeString[HttpStatusCodeString["SeeOther"] = 303] = "SeeOther";
|
|
73
|
+
HttpStatusCodeString[HttpStatusCodeString["RedirectKeepVerb"] = 307] = "RedirectKeepVerb";
|
|
74
|
+
HttpStatusCodeString[HttpStatusCodeString["PermanentRedirect"] = 308] = "PermanentRedirect";
|
|
75
|
+
})(HttpStatusCodeString || (exports.HttpStatusCodeString = HttpStatusCodeString = {}));
|