Comparing version 2.2.1 to 2.2.2
{ | ||
"name": "nodecap2", | ||
"version": "2.2.1", | ||
"version": "2.2.2", | ||
"description": "ICAP server framework for node.js - create custom HTTP proxy filters for Squid, etc.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -44,3 +44,5 @@ "use strict"; | ||
options = options || {}; | ||
return [options.version || 'ICAP/1.0', code, codes[code][0]]; | ||
var description = codes[code]; | ||
description = description ? description[0] : "Unknown"; | ||
return [options.version || 'ICAP/1.0', code, description]; | ||
}, | ||
@@ -47,0 +49,0 @@ setIcapStatusCode: function(code, options) { |
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
92755
57
2216