finalhandler
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -0,1 +1,6 @@ | ||
0.0.2 / 2014-06-19 | ||
================== | ||
* Handle invalid status codes | ||
0.0.1 / 2014-06-05 | ||
@@ -2,0 +7,0 @@ ================== |
@@ -55,3 +55,3 @@ /*! | ||
// default status code to 500 | ||
if (res.statusCode < 400) { | ||
if (!res.statusCode || res.statusCode < 400) { | ||
res.statusCode = 500 | ||
@@ -58,0 +58,0 @@ } |
{ | ||
"name": "finalhandler", | ||
"description": "Node.js final http responder", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"author": "Douglas Christopher Wilson <doug@somethingdoug.com>", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
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
6825