Comparing version 1.1.2 to 1.2.0
@@ -85,2 +85,3 @@ | ||
this.set('Last-Modified', stats.mtime.toUTCString()); | ||
this.set('Cache-Control', 'max-age=' + (maxage / 1000 | 0)); | ||
this.type = extname(path); | ||
@@ -87,0 +88,0 @@ var stream = this.body = fs.createReadStream(path); |
@@ -5,3 +5,3 @@ { | ||
"repository": "koajs/send", | ||
"version": "1.1.2", | ||
"version": "1.2.0", | ||
"keywords": [ | ||
@@ -8,0 +8,0 @@ "koa", |
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
4694
110