serve-handler
Advanced tools
Comparing version 4.0.0 to 4.0.1
{ | ||
"name": "serve-handler", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "The routing foundation of `serve` and static deployments on Now", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -652,3 +652,3 @@ // Native | ||
// TODO ? if-range | ||
if (request.headers.range) { | ||
if (request.headers.range && stats.size) { | ||
const range = parseRange(stats.size, request.headers.range); | ||
@@ -655,0 +655,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
40689