aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authoramelia squires <[email protected]>2024-09-30 11:13:49 -0500
committeramelia squires <[email protected]>2024-09-30 11:13:49 -0500
commit31a3a9ed59b720527975341931ebc4111fe23c78 (patch)
treef8f73457a0cd1c96191c829843d01dfdbb8138ca /tests
parent2a8f9bb657b323711b90bd183854d2bb46aee6e1 (diff)
attatchments
Diffstat (limited to 'tests')
-rw-r--r--tests/net.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/net.lua b/tests/net.lua
index e389fb0..65d9031 100644
--- a/tests/net.lua
+++ b/tests/net.lua
@@ -59,7 +59,7 @@ net.listen(
server:GET("/aa", function(res, req)
--res.header["Content-Type"] = "text/plain"
- res:sendfile("readme.md")
+ res:sendfile("readme.md", {attachment=true})
end)
server:GET("/test55", function(res, req)