commit 1df6d820cc5eb344c8048e73e17187523d678c6a
parent 0db3868b126a157f3554db5753800939427593af
Author: Daniel Barlow <dan@telent.net>
Date: Wed, 30 Jul 2025 22:29:25 +0100
default to utf8
lua doesn't care, apparently
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server.fnl b/server.fnl
@@ -10,7 +10,7 @@
(let [headers
(doto (new-headers)
(: :append ":status" "200")
- (: :append :content-type "text/html")
+ (: :append :content-type "text/html; charset=utf8")
(: :append :server (string.format "%s/%s" http-version.name http-version.version))
(: :append :date (http-util.imf_date)))]
(each [name value (pairs more-headers)]