From 71995aa7bab0198b3977f33d16ca34e4f628ec3d Mon Sep 17 00:00:00 2001 From: ame Date: Sat, 9 Aug 2025 04:26:08 -0500 Subject: dont override Content-Type --- docs/net/listen.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/net/listen.md b/docs/net/listen.md index 6b7f12c..333f0f2 100644 --- a/docs/net/listen.md +++ b/docs/net/listen.md @@ -132,7 +132,7 @@ res.header["test"] = "wowa" res:sendfile(filepath, options?) -res.header["Content-Type"] is set automatically depending on the file extention, using /etc/mime.types, or whatever option was supplied to listen (see listen options) +res.header["Content-Type"] is set automatically (unless already set) depending on the file extention, using /etc/mime.types, or whatever option was supplied to listen (see listen options) options table -- cgit v1.2.3