@tinyhttp/send
Advanced tools
Comparing version 1.3.1 to 1.3.2
@@ -165,3 +165,3 @@ import { format, parse } from 'es-content-type'; | ||
headers['ETag'] = createETag(stats, encoding); | ||
let status = 200; | ||
let status = res.statusCode || 200; | ||
if (req.headers['range']) { | ||
@@ -168,0 +168,0 @@ status = 206; |
{ | ||
"name": "@tinyhttp/send", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"type": "module", | ||
@@ -9,3 +9,3 @@ "description": "json, send, sendFile, status and sendStatus methods for tinyhttp", | ||
"type": "git", | ||
"url": "https://github.com/talentlessguy/tinyhttp.git", | ||
"url": "https://github.com/tinyhttp/tinyhttp.git", | ||
"directory": "packages/res" | ||
@@ -12,0 +12,0 @@ }, |
Sorry, the diff of this file is not supported yet
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
22377