diff options
| author | amelia squires <[email protected]> | 2024-09-30 11:13:49 -0500 |
|---|---|---|
| committer | amelia squires <[email protected]> | 2024-09-30 11:13:49 -0500 |
| commit | fad6f8b6c1f0d551a733160c417a253616b71f5d (patch) | |
| tree | f8f73457a0cd1c96191c829843d01dfdbb8138ca /tests/net.lua | |
| parent | 0dd67a9fd8dbf12a693e7007b790d6bffe19b04d (diff) | |
attatchments
Diffstat (limited to 'tests/net.lua')
| -rw-r--r-- | tests/net.lua | 2 |
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)
|
