http-status-codes
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -37,2 +37,3 @@ /** | ||
statusCodes[exports.MULTIPLE_CHOICES = 300] = "Multiple Choices"; | ||
statusCodes[exports.NETWORK_AUTHENTICATION_REQUIRED = 511] = "Network Authentication Required"; | ||
statusCodes[exports.NO_CONTENT = 204] = "No Content"; | ||
@@ -48,4 +49,6 @@ statusCodes[exports.NON_AUTHORITATIVE_INFORMATION = 203] = "Non Authoritative Information"; | ||
statusCodes[exports.PRECONDITION_FAILED = 412] = "Precondition Failed"; | ||
statusCodes[exports.PRECONDITION_REQUIRED = 428] = "Precondition Required"; | ||
statusCodes[exports.PROCESSING = 102] = "Processing"; | ||
statusCodes[exports.PROXY_AUTHENTICATION_REQUIRED = 407] = "Proxy Authentication Required"; | ||
statusCodes[exports.REQUEST_HEADER_FIELDS_TOO_LARGE = 431] = "Request Header Fields Too Large"; | ||
statusCodes[exports.REQUEST_TIMEOUT = 408] = "Request Timeout"; | ||
@@ -60,2 +63,3 @@ statusCodes[exports.REQUEST_TOO_LONG = 413] = "Request Entity Too Large"; | ||
statusCodes[exports.TEMPORARY_REDIRECT = 307] = "Temporary Redirect"; | ||
statusCodes[exports.TOO_MANY_REQUESTS = 429] = "Too Many Requests"; | ||
statusCodes[exports.UNAUTHORIZED = 401] = "Unauthorized"; | ||
@@ -62,0 +66,0 @@ statusCodes[exports.UNPROCESSABLE_ENTITY = 422] = "Unprocessable Entity"; |
{ | ||
"name": "http-status-codes", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Constants enumerating the HTTP status codes. Based on the Java Apache HttpStatus API.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -5,3 +5,3 @@ # http-status-codes | ||
All status codes defined in RFC1945 (HTTP/1.0), RFC2616 (HTTP/1.1), and RFC2518 (WebDAV) are supported. | ||
All status codes defined in RFC1945 (HTTP/1.0), RFC2616 (HTTP/1.1), RFC2518 (WebDAV) and RFC6585 (Additional HTTP Status Codes) are supported. | ||
@@ -13,3 +13,3 @@ ## Installation | ||
``` | ||
## Usage (express 4.x) | ||
@@ -16,0 +16,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6372
70